News for hackers. Stuff that matters.
Re:Chromium: Add support for Animated PNG by nayuki on Wednesday March 15, 2017 @09:25AM (#13875889)
Yes most PNGs have just one IDAT, but having multiple IDATs does not imply an animation. In a normal PNG, the specification says that the contents of the IDAT chunks are chained together.

This feature is used if the DEFLATE compressor only uses a small output buffer (because each chunk has a length and CRC). The feature is also used if the PNG is enormous, because the maximum size of a chunk is 2^31 - 1 bytes but by chaining IDATs it is legal to represent image data that can't fit in a single chunk.

There are no comments on this comment yet.