-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
Add a QR code resolution parameter #13
Comments
Hi, as documented, you can use http headers |
Ah got it... Should be easy to implement. |
Not perfect, but I think #14 is the best we can do within the library's capabilities. |
But of course, there's always room for further improvements. Pls create a PR if you find something out. |
Or maybe I'll can rethink a better way. So keeping the issue open. |
I have type "curl qrcode.show -d @imp_details -H "X-QR-Max-Width:128, X-QR-Max-Height:128"" and it's not working. |
@gdkali try |
It worked, but the output is not what I need. I have content on the text file are as follow |
@gdkali try smaller sizes |
I have noticed If you add multiple numbers of lines, the size of the QR code gets increase which is not normal behavior I believe for example |
QR code default size should not increase similar to web platform |
@gdkali the qr code size increases only on the terminal to compensate for the increased number of blocks, because on terminals, the size of each block is fixed. You should get expected size when downloading other image formats using the |
Uh, that's the reason qr code size gets bigger.
|
Describe the solution you'd like
A resolution parameter to choose how big the QR code is (e.g. Google Chart's chs)
Additional context
Just add some simple parameter such as
res=<width>x<height>
or something. I dunno ¯_(ツ)_/¯The text was updated successfully, but these errors were encountered: