提交 c17b7b38 编写于 作者: G Glenn Randers-Pehrson

[libpng16] Updated contrib/libtests/pngunknown.c with eXIf chunk. Note:

the unknown-sAPI test is failing.
上级 91540c56
......@@ -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
......
......@@ -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
......
/* 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*/
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册