diff --git a/ANNOUNCE b/ANNOUNCE index 1c4f56bd47f89147a2d81e18d65a52eb25856aa6..6b0258f699d6637d2363049fa2c7cf07ea282fd4 100644 --- a/ANNOUNCE +++ b/ANNOUNCE @@ -37,6 +37,7 @@ Version 1.6.32beta01 [July 31, 2017] with libpng-1.6.31. Version 1.6.32beta02 [July 31, 2017] + Updated contrib/libtests/pngunknown.c with eXIf chunk. Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/CHANGES b/CHANGES index 4b889107dbf6de6630b70486e8abd59eee811e33..bd7fe3221c7ecd9398c016453f1ebaa8d8343104 100644 --- a/CHANGES +++ b/CHANGES @@ -5920,6 +5920,7 @@ Version 1.6.32beta01 [July 31, 2017] with libpng-1.6.31. Version 1.6.32beta02 [July 31, 2017] + Updated contrib/libtests/pngunknown.c with eXIf chunk. Send comments/corrections/commendations to png-mng-implement at lists.sf.net (subscription required; visit diff --git a/contrib/libtests/pngunknown.c b/contrib/libtests/pngunknown.c index 7bb33f829b40226310cca60b048d443c6041667c..6780aeae9167d51f35a66ed7478cc789c06e9fb1 100644 --- a/contrib/libtests/pngunknown.c +++ b/contrib/libtests/pngunknown.c @@ -1,7 +1,7 @@ /* pngunknown.c - test the read side unknown chunk handling * - * Last changed in libpng 1.6.31 [July 27, 2017] + * Last changed in libpng 1.6.32 [(PENDING RELEASE)] * Copyright (c) 2015,2017 Glenn Randers-Pehrson * Written by John Cunningham Bowler * @@ -114,6 +114,7 @@ typedef png_byte *png_const_bytep; #define png_PLTE PNG_U32( 80, 76, 84, 69) #define png_bKGD PNG_U32( 98, 75, 71, 68) #define png_cHRM PNG_U32( 99, 72, 82, 77) +#define png_eXIf PNG_U32(101, 88, 73, 102) /* registered July 2017 */ #define png_fRAc PNG_U32(102, 82, 65, 99) /* registered, not defined */ #define png_gAMA PNG_U32(103, 65, 77, 65) #define png_gIFg PNG_U32(103, 73, 70, 103) @@ -210,6 +211,13 @@ static struct 1, # endif 1, START, 0 }, + { "eXIf", PNG_INFO_eXIf, png_eXIf, +# ifdef PNG_READ_eXIf_SUPPORTED + 0, +# else + 1, +# endif + 1, END, 0 }, { "gAMA", PNG_INFO_gAMA, png_gAMA, # ifdef PNG_READ_gAMA_SUPPORTED 0, @@ -1090,7 +1098,7 @@ static const char *standard_tests[] = "sTER", "sTER=if-safe", 0, "IDAT", "default=discard", "IDAT=save", 0, "sAPI", "bKGD=save", "cHRM=save", "gAMA=save", "all=discard", "iCCP=save", - "sBIT=save", "sRGB=save", 0, + "sBIT=save", "sRGB=save", "eXIf=discard", 0, 0/*end*/ };