From 13f1e62ffe8ee74c32aea72d7a8363e92c98ff5f Mon Sep 17 00:00:00 2001 From: VoidVolker Date: Wed, 29 Jul 2015 09:09:26 +0300 Subject: [PATCH] [=] Resized temp images now is in same format as input --- magick-slicer.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/magick-slicer.sh b/magick-slicer.sh index fe1b2f4..73f6f7f 100644 --- a/magick-slicer.sh +++ b/magick-slicer.sh @@ -32,6 +32,7 @@ imageH='' imOptions='' dziFormat=true verboseLevel=0 +overlap=0 # TODO: Overlap handling. # ——————————————————————————————————————————————————————————————————————————————————— # ####### Verbose functions ####### # # (0=none, 1=warnings, 2=warnings+info, 3=warning+info+debug) @@ -669,8 +670,8 @@ zoomImage(){ # zoom size -> file_path local zoom=$1 local size=$2 local dir="${resultDir}/${zoom}" - # local file="${dir}.${resultExt}" - local file="${dir}.png" + local file="${dir}.${resultExt}" + # local file="${dir}.png" # local size=`scaleToPercents $s` mkdir -p $dir # Imagemagick can't create directories convert $imageSource $resizeFilter -resize $size $file