From 1f3722f82981948e444fb965305b2f7818a9293c Mon Sep 17 00:00:00 2001 From: ubq323 Date: Sun, 31 Mar 2024 00:38:01 +0000 Subject: launch ./beeite --- splitpnm.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 splitpnm.sh (limited to 'splitpnm.sh') diff --git a/splitpnm.sh b/splitpnm.sh new file mode 100755 index 0000000..3981175 --- /dev/null +++ b/splitpnm.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +fname="$1" + +pamcut -left=0 -width=328 <"$fname" >"john_1.pnm" +pamcut -cropleft=328 -width=328 <"$fname" >"john_2.pnm" +pamcut -cropleft=656 <"$fname" >"john_3.pnm" +echo "file john_1.pnm john_2.pnm john_3.pnm" >img/john.dat +./launch.sh ./beeite.lua -- cgit v1.2.3