@@ -112,6 +112,8 @@ typedef png_byte *png_const_bytep;
112112#define png_PLTE PNG_U32( 80, 76, 84, 69)
113113#define png_bKGD PNG_U32( 98, 75, 71, 68)
114114#define png_cHRM PNG_U32( 99, 72, 82, 77)
115+ #define png_cICP PNG_U32( 99, 73, 67, 80) /* PNGv3 */
116+ #define png_cLLI PNG_U32( 99, 76, 76, 73) /* PNGv3 */
115117#define png_eXIf PNG_U32(101, 88, 73, 102) /* registered July 2017 */
116118#define png_fRAc PNG_U32(102, 82, 65, 99) /* registered, not defined */
117119#define png_gAMA PNG_U32(103, 65, 77, 65)
@@ -121,6 +123,7 @@ typedef png_byte *png_const_bytep;
121123#define png_hIST PNG_U32(104, 73, 83, 84)
122124#define png_iCCP PNG_U32(105, 67, 67, 80)
123125#define png_iTXt PNG_U32(105, 84, 88, 116)
126+ #define png_mDCV PNG_U32(109, 68, 67, 86) /* PNGv3 */
124127#define png_oFFs PNG_U32(111, 70, 70, 115)
125128#define png_pCAL PNG_U32(112, 67, 65, 76)
126129#define png_pHYs PNG_U32(112, 72, 89, 115)
@@ -205,6 +208,20 @@ static struct
205208 0 ,
206209# else
207210 1 ,
211+ # endif
212+ 1 , START , 0 },
213+ { "cICP" , PNG_INFO_cICP , png_cICP ,
214+ # ifdef PNG_READ_cICP_SUPPORTED
215+ 0 ,
216+ # else
217+ 1 ,
218+ # endif
219+ 1 , START , 0 },
220+ { "cLLI" , PNG_INFO_cLLI , png_cLLI ,
221+ # ifdef PNG_READ_cLLI_SUPPORTED
222+ 0 ,
223+ # else
224+ 1 ,
208225# endif
209226 1 , START , 0 },
210227 { "eXIf" , PNG_INFO_eXIf , png_eXIf ,
@@ -242,6 +259,13 @@ static struct
242259 1 ,
243260# endif
244261 1 , ABSENT , 0 },
262+ { "mDCV" , PNG_INFO_mDCV , png_mDCV ,
263+ # ifdef PNG_READ_mDCV_SUPPORTED
264+ 0 ,
265+ # else
266+ 1 ,
267+ # endif
268+ 1 , START , 0 },
245269 { "oFFs" , PNG_INFO_oFFs , png_oFFs ,
246270# ifdef PNG_READ_oFFs_SUPPORTED
247271 0 ,
0 commit comments