Skip to content

Instantly share code, notes, and snippets.

Created May 23, 2022 08:35
What would you like to do?
Barcode generator with ImageMagick
for i in `seq 150 650`; do
convert -size 1016x200 -background white -fill black -font Libre-Barcode-39-Regular -pointsize 160 -gravity center caption:"*66250${i}*" -gravity south -extent 1016x260 -resize 1016x648\! "66250${i}.png"
convert *.png 0.pdf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment