From: glennrp Date: Fri, 26 Nov 2010 21:57:18 +0000 (+0000) Subject: re-enabled palette-sorting in the png encoder, inavertently disabled recently. X-Git-Tag: 7.0.1-0~8452 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ecfa1b612ec832b348e773dab1b3cdb2448da806;p=imagemagick re-enabled palette-sorting in the png encoder, inavertently disabled recently. --- diff --git a/coders/png.c b/coders/png.c index 878a42143..3bcf70389 100644 --- a/coders/png.c +++ b/coders/png.c @@ -113,9 +113,7 @@ #define MNG_COALESCE_LAYERS /* In 5.4.4, this interfered with MMAP'ed files. */ #define MNG_INSERT_LAYERS /* Troublesome, but seem to work as of 5.4.4 */ #define PNG_BUILD_PALETTE /* This works as of 5.4.3. */ -#if 0 -#define PNG_SORT_PALETTE /* This works as of 5.4.0 but not in 6.5. */ -#endif +#define PNG_SORT_PALETTE /* This works as of 5.4.0 */ #if defined(MAGICKCORE_JPEG_DELEGATE) # define JNG_SUPPORTED /* Not finished as of 5.5.2. See "To do" comments. */ #endif