From ab5d59fd6568a48e65e49027ec35e3646c669f18 Mon Sep 17 00:00:00 2001 From: Robert Johnson Date: Wed, 30 Aug 2023 19:25:46 -0400 Subject: [PATCH] Initial commit. --- cut_counters.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 cut_counters.sh diff --git a/cut_counters.sh b/cut_counters.sh new file mode 100755 index 0000000..d417829 --- /dev/null +++ b/cut_counters.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +# To use this program, pleas supply an initial image, then the number of cuts +# You want. + +width=`identify -ping -format '%w' $1` +height=`identify -ping -format '%h' $1` +no_v_slices=$2 +no_h_slices=$3 +file_prefix=$4