summaryrefslogtreecommitdiff
path: root/splitpnm.sh
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-03-31 00:41:23 +0000
committerubq323 <ubq323@ubq323.website>2024-03-31 00:41:23 +0000
commit19efc5dda260327e8cd5155ebc0f8ea69359fe86 (patch)
tree2162026ce9de83867c296bbfe9641e94121a3af1 /splitpnm.sh
parent10ace86e9e0c4c76edb917902b90a2123e7d9aea (diff)
launch ./beeite
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"