From d8eb6deee04b30b6ff9eb04f4ad6910c2e2231db Mon Sep 17 00:00:00 2001 From: Jim Hague Date: Fri, 4 Nov 2016 23:31:40 +0000 Subject: [PATCH 1/2] Up the resolution of the web graphics. This will result in increased image size, on the order of 18k->32k, but I'm fed up with the blurriness of the current images. Ideally I'd move to SVG for the web images, but Mick reckons that SVG support on mobile browsers is still limited. Suspect he's probably right. --- makeWebGraphics.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makeWebGraphics.sh b/makeWebGraphics.sh index aed1186..2c69654 100755 --- a/makeWebGraphics.sh +++ b/makeWebGraphics.sh @@ -25,8 +25,8 @@ find $booke -name "*.abc" | sort | do name=`basename $filename .abc` tmpname=${name}.tmp - convert -density 96 $graphicsdir/${name}.pdf $builddir/${tmpname}.png - convert -density 96 $graphicsdir/firstline-${name}.pdf $builddir/firstline-${tmpname}.png + convert -colors 256 -quality 90 -density 200 $graphicsdir/${name}.pdf $builddir/${tmpname}.png + convert -colors 256 -quality 90 -density 200 $graphicsdir/firstline-${name}.pdf $builddir/firstline-${tmpname}.png mv $builddir/${tmpname}.png $builddir/${name}.png mv $builddir/firstline-${tmpname}.png $builddir/firstline-${name}.png From 2830b0520606666fdd23107b9ad8d794d332b699 Mon Sep 17 00:00:00 2001 From: Jim Hague Date: Fri, 4 Nov 2016 23:34:41 +0000 Subject: [PATCH 2/2] Correct typo in makeAll.sh. --- makeAll.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makeAll.sh b/makeAll.sh index 8eb329f..930c9a9 100755 --- a/makeAll.sh +++ b/makeAll.sh @@ -12,7 +12,7 @@ makeABooke() ./makeGraphics.sh "$1" ./makeBookeTunePages.sh "$1" ./makeBooke.sh A4 "$1" - ./makeBooke.sh A4 "$1" + ./makeBooke.sh A5 "$1" ./makeBooklet.sh "$1" ./makeBooke.sh Nook "$1" ./makeWebGraphics.sh "$1"