]> pere.pagekite.me Git - homepage.git/blob - mypapers/eyebot-ip/imgconv.sh
Generated.
[homepage.git] / mypapers / eyebot-ip / imgconv.sh
1 #!/bin/sh
2 #
3 # Use the makefile instead!
4
5 scale=2
6
7 for f in image*.pnm image*.pgm; do
8 echo $f
9 b=`basename $f .pgm`
10 b=`basename $b .pnm`
11 pnmscale -xscale $scale -yscale $scale < $f | pnmtopng > $b.png
12 done