From: Andreas K. <And...@gm...> - 2012-06-20 07:24:33
|
> You can rely on any information required to correctly interpret the IDAT data being in front of the IDAT chunks; that's another consequence of the streaming approach and is explicitly required by the standard. In other words, gAMA, sRGB, cHRM and iCCP, plus other things like sTER, must appear before IDAT. Of course it doesn't do any harm to read them after png_read_end if you don't do anything with them while reading the image rows. Yes, I'm aware of that, but if I might be accepting secondary metadata sources for the ICC profile blob as well. |