diff options
author | Justin Maggard <jmaggard@users.sourceforge.net> | 2009-02-18 01:22:35 +0300 |
---|---|---|
committer | Justin Maggard <jmaggard@users.sourceforge.net> | 2009-02-18 01:22:35 +0300 |
commit | 30f704258d19afdcedc03298a5e354098bc1de3b (patch) | |
tree | 666147aee7847f9fc9decc542d845171847913f1 /albumart.c | |
parent | e90c06c85618163f430dd8fd6fedb2a1a9bbf080 (diff) |
* Thanks to Steve Hollis for pointing out that GD's default JPEG quality setting is pretty bad for downscaling thumbnails.
Diffstat (limited to 'albumart.c')
-rw-r--r-- | albumart.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -109,7 +109,7 @@ save_resized_album_art(void * ptr, const char * path, int srcw, int srch, int fi #else gdImageCopyResampled(imdst, imsrc, 0, 0, 0, 0, dstw, dsth, imsrc->sx, imsrc->sy); #endif - gdImageJpeg(imdst, dstfile, -1); + gdImageJpeg(imdst, dstfile, 96); fclose(dstfile); gdImageDestroy(imsrc); gdImageDestroy(imdst); |