[devel] Added PNG_TRANSFORM_CHOP_16 to the high-level read transforms.
This commit is contained in:
parent
039ad872fe
commit
b0791f75ad
1
ANNOUNCE
1
ANNOUNCE
@ -215,6 +215,7 @@ Version 1.5.4beta03 [June 15, 2011]
|
||||
|
||||
Version 1.5.4beta04 [June 15, 2011]
|
||||
Added a missing "#ifdef PNG_READ_BACKGROUND_SUPPORTED/#endif" in pngrtran.c
|
||||
Added PNG_TRANSFORM_CHOP_16 to the high-level read transforms.
|
||||
|
||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net:
|
||||
(subscription required; visit
|
||||
|
1
CHANGES
1
CHANGES
@ -3478,6 +3478,7 @@ Version 1.5.4beta03 [June 15, 2011]
|
||||
|
||||
Version 1.5.4beta04 [June 15, 2011]
|
||||
Added a missing "#ifdef PNG_READ_BACKGROUND_SUPPORTED/#endif" in pngrtran.c
|
||||
Added PNG_TRANSFORM_CHOP_16 to the high-level read transforms.
|
||||
|
||||
Send comments/corrections/commendations to png-mng-implement at lists.sf.net
|
||||
(subscription required; visit
|
||||
|
@ -1291,6 +1291,11 @@ 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
|
||||
else
|
||||
if (transforms & PNG_TRANSFORM_CHOP_16)
|
||||
png_set_chop_16(png_ptr);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef PNG_READ_STRIP_ALPHA_SUPPORTED
|
||||
|
Loading…
Reference in New Issue
Block a user