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

QR code generation with embedded image #1

Open
roycoding opened this issue Jan 30, 2014 · 1 comment
Open

QR code generation with embedded image #1

roycoding opened this issue Jan 30, 2014 · 1 comment

Comments

@roycoding
Copy link
Contributor

It would be nice to create QR codes with a logo/image embedded in them. Either we need to modify this wrapper, modify the actual QR code library python-qrcode, or we may need to post process the QR code files.

@roycoding
Copy link
Contributor Author

I found a comment online showing how to do this from the commandline (ImageMagick):

Using this for bitcoin private key overlays. I did some (image)magick, and came up with this: 

# Generate some valid bitcoin private keys 
# Then, put them into qrencode: 
qrencode -o /tmp/test.png -s 50 -l H -m 6 Shv3ceecGvTCc3to7YMr8M 
# Overlay images: 
composite coin.png test.png cointest.png 

Result:

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

No branches or pull requests

1 participant