aboutsummaryrefslogtreecommitdiff
path: root/ppmtopng.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ppmtopng.sh')
-rwxr-xr-xppmtopng.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/ppmtopng.sh b/ppmtopng.sh
new file mode 100755
index 0000000..e415a5f
--- /dev/null
+++ b/ppmtopng.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -xe
+
+for i in files/file*.ppm
+do
+ pnmtopng "$i" >> "${i%.*}.png"
+done