You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I'm trying to convert an SVG file to a large PNG.
But it takes a lot of time. So I'm trying to profile the CPU usage to provide a PR. Maybe you could give me a hint?
I found this comment:
// This draws the entire bounds of the image, because
// at this point the alpha mask does not shift with the
// placement of the target rectangle in the vector rasterizer
Indeed, why is it that to draw a single SvgPath we need to iterate over the pixels of the whole canvas?
The text was updated successfully, but these errors were encountered:
Hi,
I'm trying to convert an SVG file to a large PNG.
But it takes a lot of time. So I'm trying to profile the CPU usage to provide a PR. Maybe you could give me a hint?
I found this comment:
// This draws the entire bounds of the image, because
// at this point the alpha mask does not shift with the
// placement of the target rectangle in the vector rasterizer
Indeed, why is it that to draw a single SvgPath we need to iterate over the pixels of the whole canvas?
The text was updated successfully, but these errors were encountered: