more calculations.
This commit is contained in:
parent
ab5d59fd65
commit
53f2b01b54
@ -8,3 +8,9 @@ height=`identify -ping -format '%h' $1`
|
|||||||
no_v_slices=$2
|
no_v_slices=$2
|
||||||
no_h_slices=$3
|
no_h_slices=$3
|
||||||
file_prefix=$4
|
file_prefix=$4
|
||||||
|
|
||||||
|
vert_size=`echo "$height/($no_h_slices+1)" | bc -l`
|
||||||
|
hort_size=`echo "$width/($no_v_slices+1)" | bc -l`
|
||||||
|
|
||||||
|
echo $vert_size
|
||||||
|
echo $hort_size
|
Loading…
Reference in New Issue
Block a user