Replies: 1 comment
-
This is something that should be expected while converting from a vector format to a raster, especially with ImageMagick. It should be avoided unless you have no other option: php-qrcode/examples/imagickConvertSVGtoPNG.php Lines 5 to 11 in 48747ae Alternatively, you could try the Javascript converter if you're doing a one-off. It might get messy if you're trying to run this on node with node-dom etc.. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
Have tried several settings with imagick to convert SVG output PNG and had no success. The quality is really terrible..
Checked this sample code too
https://github.com/chillerlan/php-qrcode/blob/main/examples/imagickConvertSVGtoPNG.php
but also no success.Am I missing something?
Beta Was this translation helpful? Give feedback.
All reactions