Skip to content
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

二维码生成规则 #43

Open
anghuang opened this issue Jan 4, 2019 · 1 comment
Open

二维码生成规则 #43

anghuang opened this issue Jan 4, 2019 · 1 comment

Comments

@anghuang
Copy link

anghuang commented Jan 4, 2019

为什么有的二维码马眼很多,有的很少,是链接长短还是链接出现的不重复字符多少控制的?

@w4sevens
Copy link

w4sevens commented Jan 1, 2020

你可以去搜一下二维码原理,这个是跟链接长短有一定关系,你可以认为眼越多,编码信息容量越大,你可以进行的编码字符串越长,但是会有一个上限,就是容量,他一共有40个版本,一般情况下,会根据用户编码字符串长度选择一个最低的版本,因为版本越高,方块越密集,越丑,你可以尝试一下用不同的版本,带参数-v就行,后面接版本号,如:myqr.py -v 10,表示版本10编码

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants