diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-06-05 11:45:06 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-06-05 11:47:57 +0200 |
commit | 0335c34c0ec5b81b83e578478f9681c279f87717 (patch) | |
tree | e63daf50e45e6b3e811bba5ce8b71d25720ee510 /tools/gencovers.sh | |
parent | b92a9e36c15f7c2ea20c7946269d01f5fc3e7275 (diff) | |
download | server-0335c34c0ec5b81b83e578478f9681c279f87717.tar.gz |
Create covers in higher quality.
Diffstat (limited to 'tools/gencovers.sh')
-rw-r--r-- | tools/gencovers.sh | 6 |
1 files changed, 3 insertions, 3 deletions
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 |