Skip to content

Instantly share code, notes, and snippets.

@rafael-xmr
Last active April 14, 2024 16:45
Show Gist options
  • Save rafael-xmr/3ccb7d984e87618e0b3f563fd4f48797 to your computer and use it in GitHub Desktop.
Save rafael-xmr/3ccb7d984e87618e0b3f563fd4f48797 to your computer and use it in GitHub Desktop.
QR Code with image in the middle
$ qrencode -o qr.png "<url-or-crypto-address-here>" -s 10 -l H
$ convert transparent_image_logo.png -resize 120x120 resized_image.png
$ convert qr.png resized_image.png -gravity center -composite qr_with_image.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment