|
|
|
|
|
by Camillo
4688 days ago
|
|
It's going to be great when users post APNGs with a first 1/30s frame that shows Mickey Mouse's face and a second permanent frame that shows hardcore porn. And your moderator uses a browser that doesn't support APNG, so they just see the innocuous frame and have no idea about the rest. Automatic fallback to a normal static PNG is a terrible idea. If you want an animation format, give it its own extension and MIME type. The only reason why it works for GIF is that it's basically assumed to be animated nowadays, and it started out with animation support (as far as the web is concerned). |
|
I don't see why fallback is bad. Having a single canonical file is so much nicer than multiple files. APNG has been around for ages. If you as an upload-accepting web dev aren't aware of it you're not a very good web dev. And as a user you don't even know what container an image is using 99% of the time, so MIME type doesn't matter. Browsers tend to ignore image MIME anyway because of how common mislabelings are.