-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
msvg:
flattens curved paths too coarsely in upscaled SVGs
#7465
Comments
Thank you for reporting the issue. We have successfully reproduced it and are actively working on a patch to resolve it. You can expect this patch to be merged into the main GIT branch, later today. As part of our commitment to quality, this fix will also be included in the upcoming beta releases of ImageMagick by tomorrow. Your patience and feedback are greatly appreciated. |
urban-warrior
pushed a commit
that referenced
this issue
Jul 13, 2024
urban-warrior
pushed a commit
to ImageMagick/ImageMagick6
that referenced
this issue
Jul 13, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ImageMagick version
7.1.1-33
Operating system
Linux
Operating system, version and so on
Fedora 40
Description
I have noticed that, when rasterizing SVGs to an upscaled raster image,
msvg:
appears to flatten curved paths in the SVG as though the SVG were displayed in its original resolution rather than in the upscaled resolution. This can be undesirable where the paths are flattened so coarsely that straight lines can be seen. Meanwhile,rsvg:
renders curved paths more smoothly because the flattening takes place at the desired pixel size, not the original size, leading to a much more desirable behavior with such paths.Thus,
msvg:
should behave likersvg:
in this respect.Steps to Reproduce
curved1.svg
:curved2.svg
:In both SVGs, the "original" resolution is 8x8. Now run the following commands and compare the results:
Notice that
rsvgcurved1.png
andrsvgcurved2.png
are much smoother compared tomsvgcurved1.png
andmsvgcurved2.png
.Images
No response
The text was updated successfully, but these errors were encountered: