summaryrefslogtreecommitdiff
path: root/splitpnm.sh
diff options
context:
space:
mode:
Diffstat (limited to 'splitpnm.sh')
-rwxr-xr-xsplitpnm.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/splitpnm.sh b/splitpnm.sh
index cba2aee..5661eb4 100755
--- a/splitpnm.sh
+++ b/splitpnm.sh
@@ -1,6 +1,7 @@
#!/bin/sh
-fname="$1"
+pngtopnm "$1" >john.pnm
+fname="john.pnm"
pamcut -left=0 -width=328 <"$fname" >"img/john_1.pnm"
pamcut -cropleft=328 -width=328 <"$fname" >"img/john_2.pnm"