From 0335c34c0ec5b81b83e578478f9681c279f87717 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 5 Jun 2023 11:45:06 +0200 Subject: Create covers in higher quality. --- tools/gencovers.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tools/gencovers.sh') diff --git a/tools/gencovers.sh b/tools/gencovers.sh index 1ae2b90..8d4eacd 100644 --- a/tools/gencovers.sh +++ b/tools/gencovers.sh @@ -28,14 +28,14 @@ do fi convert -colorspace RGB -resize $SIZE_1X -colorspace sRGB $F $B.1x.png - mozjpeg -q 95 -outfile $B.1x.jpg $B.1x.png + pngtopnm $B.1x.png | cjpeg -progressive -optimize -sample 1x1 -quality 95 > $B.1x.jpg rm -f $B.1x.png convert -colorspace RGB -resize $SIZE_2X $F -colorspace sRGB $B.2x.png - mozjpeg -q 95 -outfile $B.2x.jpg $B.2x.png + pngtopnm $B.2x.png | cjpeg -progressive -optimize -sample 1x1 -quality 95 > $B.2x.jpg rm -f $B.2x.png convert -colorspace RGB -resize $SIZE_TH $F -colorspace sRGB $D/thumbnail.png - mozjpeg -q 95 -outfile $D/thumbnail.jpg $D/thumbnail.png + pngtopnm $D/thumbnail.png | cjpeg -progressive -optimize -sample 1x1 -quality 95 > $D/thumbnail.jpg rm -f $D/thumbnail.png done -- cgit v1.2.3