Originally posted by DrYak
View Post
It's everything that PNG explicitly rejected in pre-emptively making any attempt at APNG a spec violation, but worse. (The PNG spec says that, to be spec-compliant, a file with a PNG header must contain only image data derived from a single source pixmap, defined as a rectangular array of rectangular pixels, and transformed by a list of transformations that does not include splitting frames out of a spritesheet-like form. That's why Mozilla still has to maintain their own fork of libpng.)
Can you even detect that programmatically without a full-blown WebP parser? I know APNG can be detected using fairly simple code suitable for something like "send non-spec-compliant user avatars for conversion".
Comment