[devel] Renamed png_set_chop_16() to png_set_strip_16().

This commit is contained in:
Glenn Randers-Pehrson
2011-06-17 20:04:17 -05:00
parent a7428d443c
commit ab63dd0892
11 changed files with 89 additions and 106 deletions

View File

@@ -192,9 +192,9 @@ void read_png(FILE *fp, unsigned int sig_read) /* File is already open */
* low byte.
*/
#ifdef PNG_READ_16_TO_8_ACCURATE_SCALE_SUPPORTED
png_set_strip_16(png_ptr);
png_set_scale_16(png_ptr);
#else
png_set_chop_16(png_ptr);
png_set_strip_16(png_ptr);
#endif
/* Strip alpha bytes from the input data without combining with the