Skip to content
This repository has been archived by the owner on Jan 3, 2018. It is now read-only.

Invalid QR-Codes generated #8

Open
mdornseif opened this issue Jan 26, 2011 · 3 comments
Open

Invalid QR-Codes generated #8

mdornseif opened this issue Jan 26, 2011 · 3 comments

Comments

@mdornseif
Copy link
Member

hongshan liu writes:

hi,Maximillian Dornseif,
I was using your huBarcode,but I found some bugs when I using it.

bug example2:
# -- coding: utf-8 --
# author: liu hongshan email: [email protected]
from hubarcode.qrcode import QRCodeEncoder
if name == "main":
test = "TEL:13516190008" #i found when len(test)==15,the result image could not be decoded!
ENCODER = QRCodeEncoder(test)
ENCODER.save( "test.png",3)

could you fix these? thank you!

@Estartu
Copy link

Estartu commented Jan 31, 2011

I have a similar problem with 0.62. I try to encode URLs the resulting codes can only be read if the length of the URL is dividable by 4.

For example http://www.augusta.de/schulungen/computerbasics/20100820120955 produce a readable code. http://www.augusta.de/schulungen/computerbasics/201008201209550 doesn't

add 3 more 0 and it works again

@Estartu
Copy link

Estartu commented Jan 31, 2011

there are URL that have a length dividable by 4 which don't result in a readable code. http://estartu.dev.mytum.de:9380/schulungen/css/20101220111158// results in an unreadable code.

@mdornseif
Copy link
Member Author

Anybody with a patch for this?

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

No branches or pull requests

2 participants