]> granicus.if.org Git - imagemagick/commitdiff
re-enabled palette-sorting in the png encoder, inavertently disabled recently.
authorglennrp <glennrp@git.imagemagick.org>
Fri, 26 Nov 2010 21:57:18 +0000 (21:57 +0000)
committerglennrp <glennrp@git.imagemagick.org>
Fri, 26 Nov 2010 21:57:18 +0000 (21:57 +0000)
coders/png.c

index 878a42143fd3a09d8745956108aac21a0025af1a..3bcf703899be412453c0178a135d76dc9618e449 100644 (file)
 #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