-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
请问可以限定生成图片的尺寸吗? #17
Comments
-V属性可以吧 |
-v是增加二维码大小,二维码被跟着放大变得看着很复杂,想实现那种放大图片但是内容不变 |
收到。。
|
您好!
您正在找回密码,为确保是你本人操作,请在邮箱验证码输入框输入下方验证码:
658360
如果这不是你本人所为,请忽略。请勿向任何人泄漏您收到的验证码。
冬奥小助 账号团队敬上
|
在作者的源码中找到draw_qrcode()这个函数,里面的unit_len应该定义的是一个格子的大小,把这个值增大就能变相实现图片尺寸修改,我试过了可行 |
滚,拙劣 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
请问可以限定生成图片的尺寸吗?
我试着修改word的内容,根据不同的内容,生成的图片大小也不一样。 不知道是否可以增加size属性。。。
当然 限定size的话, 传入的图片也会配合好的, 比如计划生成200x200 那么就传个背景图也是200x200的
谢谢。
The text was updated successfully, but these errors were encountered: