bldc/repl/convpng.sh

9 lines
120 B
Bash
Executable File

#!/bin/bash
for f in *.raw
do
res=${f%.raw}.png
convert -depth 8 -size 64x64+0 rgb:$f -scale 512x512 $res
done