[devel] Change DITHER to QUANTIZE in the pnglibconf.h maintenance scripts

This commit is contained in:
Glenn Randers-Pehrson 2010-04-17 11:47:58 -05:00
parent 8fc3604418
commit 9d976c0ef1
2 changed files with 3 additions and 5 deletions

View File

@ -223,6 +223,7 @@ setting USER_CHUNK_MALLOC_MAX default 0
# READ options # READ options
option READ enables READ_INTERLACING option READ enables READ_INTERLACING
option READ_QUANTIZE requires READ
option READ_TRANSFORMS requires READ option READ_TRANSFORMS requires READ
= NO_READ_TRANSFORMS PNG_READ_TRANSFORMS_NOT_SUPPORTED = NO_READ_TRANSFORMS PNG_READ_TRANSFORMS_NOT_SUPPORTED
@ -265,9 +266,6 @@ option INCH_CONVERSIONS requires FLOATING_POINT off
# IN DEVELOPMENT # IN DEVELOPMENT
# These are currently experimental features, define them if you want # These are currently experimental features, define them if you want
# Never enabled?
option READ_DITHER requires READ off
# Very little testing, not enabled by default. # Very little testing, not enabled by default.
option READ_16_TO_8_ACCURATE_SCALE requires READ off option READ_16_TO_8_ACCURATE_SCALE requires READ off

View File

@ -1,7 +1,7 @@
/* symbols.dfn - find all exported symbols /* symbols.dfn - find all exported symbols
* *
* Last changed in libpng 1.5.0 [April 1, 2010] * Last changed in libpng 1.5.0 [April 17, 2010]
* Copyright (c) 1998-2010 Glenn Randers-Pehrson * Copyright (c) 1998-2010 Glenn Randers-Pehrson
* *
* This code is released under the libpng license. * This code is released under the libpng license.
@ -41,7 +41,7 @@
#define PNG_ERROR_NUMBERS_SUPPORTED #define PNG_ERROR_NUMBERS_SUPPORTED
#define PNG_READ_BIG_ENDIAN_SUPPORTED /* should do nothing! */ #define PNG_READ_BIG_ENDIAN_SUPPORTED /* should do nothing! */
#define PNG_INCH_CONVERSIONS_SUPPORTED #define PNG_INCH_CONVERSIONS_SUPPORTED
#define PNG_READ_DITHER_SUPPORTED #define PNG_READ_QUANTIZE_SUPPORTED
#define PNG_READ_16_TO_8_ACCURATE_SCALE_SUPPORTED #define PNG_READ_16_TO_8_ACCURATE_SCALE_SUPPORTED
#undef PNG_H #undef PNG_H