From 43dc6436f3bce0c15aa51211f263a8d2bc7c1bf9 Mon Sep 17 00:00:00 2001 From: Daniel Axtens Date: Sat, 9 Apr 2011 23:44:59 +0800 Subject: [PATCH] Reduce size of bebook output, it doesn't change the fact only 2 zoom levels are available. --- scan2pages.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scan2pages.sh b/scan2pages.sh index ff8db05..720acec 100755 --- a/scan2pages.sh +++ b/scan2pages.sh @@ -184,8 +184,8 @@ for pg in `$my_seq 1 $pages`; do #final convert and clean w/ bebook optimisation if [[ $bebook ]]; then - convert $convertflags -colorspace Gray -median 1 $dir/upg-${pgn}-1-?.pnm -trim -resize 1800x2400 $dir/final-${pgn}-1-%01d.${extension} || exit 1 - convert $convertflags -colorspace Gray -median 1 $dir/upg-${pgn}-2-?.pnm -trim -resize 1800x2400 $dir/final-${pgn}-2-%01d.${extension} || exit 1 + convert $convertflags -colorspace Gray -median 1 $dir/upg-${pgn}-1-?.pnm -trim -resize 1200x1600 $dir/final-${pgn}-1-%01d.${extension} || exit 1 + convert $convertflags -colorspace Gray -median 1 $dir/upg-${pgn}-2-?.pnm -trim -resize 1200x1600 $dir/final-${pgn}-2-%01d.${extension} || exit 1 else convert $convertflags $dir/upg-${pgn}-1-?.pnm $dir/final-${pgn}-1-%01d.${extension} || exit 1 convert $convertflags $dir/upg-${pgn}-2-?.pnm $dir/final-${pgn}-2-%01d.${extension} || exit 1 -- 2.20.1