From d8eb6deee04b30b6ff9eb04f4ad6910c2e2231db Mon Sep 17 00:00:00 2001 From: Jim Hague Date: Fri, 4 Nov 2016 23:31:40 +0000 Subject: [PATCH] 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