aboutsummaryrefslogtreecommitdiff
path: root/ppmtopng.sh
blob: df332364dc16d2729f1bcf0453ca90bfc7de8f58 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

cd ${0%/*} # go to project root
set -xe

for i in files/file*.ppm
do
    pnmtopng "$i" >> "${i%.*}.png"
done