-
Notifications
You must be signed in to change notification settings - Fork 603
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
Setting --dpi has no effect on the PNG output #210
Comments
Seems to work for me
https://fukuchi.org/works/qrencode/
The man-page or help does not seem to be as specific, but the dpi setting is metadata only. It does not affect pixel size (geometry).
If you wanted to have a bigger pixel size instead to match the dpi (like I did), you can resample it with imagick
This yields the same "print size" as the 72 (default) dpi setting but with bigger pixel size. You can also just specify the desired pixel size : So, this is not really a bug but a feature request for setting the desired pixel size and scaling the qr-code accordingly as I see it. |
Mmm, okay. I will not question the usefulness of the --dpi option, but the only thing that ever mattered to me was the resolution of an image. That would be a useful addition! Thank you for offering a workaround via imagemagick. |
In version 4.1.1 setting the
-d, --dpi
option has no effect.Steps to reproduce:
The text was updated successfully, but these errors were encountered: