[devel] Fix more inconsistencies from the swap of 16_TO_8 APIs.

pngvalid still fails.
This commit is contained in:
Glenn Randers-Pehrson
2011-06-17 23:07:16 -05:00
parent 24145c8869
commit 6da2f2d92a
3 changed files with 12 additions and 9 deletions

4
png.h
View File

@@ -1426,12 +1426,12 @@ PNG_FIXED_EXPORT(215, void, png_set_background_fixed, (png_structp png_ptr,
#ifdef PNG_READ_16_TO_8_SUPPORTED
# ifdef PNG_READ_SCALE_16_TO_8_SUPPORTED
/* Scale a 16-bit depth file down to 8-bit, accurately. */
PNG_EXPORT(48, void, png_set_scale_16, (png_structp png_ptr));
PNG_EXPORT(229, void, png_set_scale_16, (png_structp png_ptr));
# endif
# ifdef PNG_READ_STRIP_16_TO_8_SUPPORTED
/* Strip the second byte of information from a 16-bit depth file. */
PNG_EXPORT(229, void, png_set_strip_16, (png_structp png_ptr));
PNG_EXPORT(48, void, png_set_strip_16, (png_structp png_ptr));
# endif
#endif