#!/usr/bin/env bash for i in $(seq -f "%03g" 1 50) do magick -background white -fill black -monochrome +dither +antialias -font DejaVu-Sans -pointsize 28 label:M-Labs\ 002\ $i label.pbm cat label.pbm |./klg2 -t 6 done