mirror of
https://git.code.sf.net/p/libpng/code.git
synced 2025-07-10 18:04:09 +02:00
[devel] Updated comments that mention 1.5.3; changed them to 1.5.4.
This commit is contained in:
@@ -1292,6 +1292,9 @@ png_read_png(png_structp png_ptr, png_infop info_ptr,
|
||||
if (transforms & PNG_TRANSFORM_STRIP_16)
|
||||
png_set_strip_16(png_ptr);
|
||||
# ifdef PNG_READ_CHOP_16_TO_8_SUPPORTED
|
||||
/* Added at libpng-1.5.4. "chop_16" produces the same result that "strip_16"
|
||||
* did in earlier versions, while "strip_16" is now more accurate.
|
||||
*/
|
||||
else
|
||||
if (transforms & PNG_TRANSFORM_CHOP_16)
|
||||
png_set_chop_16(png_ptr);
|
||||
@@ -1392,7 +1395,7 @@ png_read_png(png_structp png_ptr, png_infop info_ptr,
|
||||
png_set_gray_to_rgb(png_ptr);
|
||||
#endif
|
||||
|
||||
/* Added at libpng-1.5.3 */
|
||||
/* Added at libpng-1.5.4 */
|
||||
#ifdef PNG_READ_EXPAND_16_SUPPORTED
|
||||
if (transforms & PNG_TRANSFORM_EXPAND_16)
|
||||
png_set_expand_16(png_ptr);
|
||||
|
||||
Reference in New Issue
Block a user