Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/azatoth/minidlna.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Maggard <jmaggard@users.sourceforge.net>2009-02-18 01:22:35 +0300
committerJustin Maggard <jmaggard@users.sourceforge.net>2009-02-18 01:22:35 +0300
commit30f704258d19afdcedc03298a5e354098bc1de3b (patch)
tree666147aee7847f9fc9decc542d845171847913f1 /albumart.c
parente90c06c85618163f430dd8fd6fedb2a1a9bbf080 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/albumart.c b/albumart.c
index 700927d..bbe7887 100644
--- a/albumart.c
+++ b/albumart.c
@@ -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);