* Thanks to Steve Hollis for pointing out that GD's default JPEG quality setting is pretty bad for downscaling thumbnails.
This commit is contained in:
parent
14547e2266
commit
69965b876e
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user