Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

webm is a better format for animated images.

So is webp.

The author talks about lacking support for apng, but ironically apng has better support than his hack and is a superior format in every respects.

Any animation form that a) just uses a still image form (jpg) and b) base64 encodes the data is destined to be terrible. SVG support is also not significantly better than apng... in fact, taking arbitrary photo viewing applications I'd bet that animated svg would fall far below apng in support.

Calling this a new format is also very charitable since je did no work on improving the actual image compression algorithms. Google's WEBP/WEBM are examples of a new format that truly is pushing the boundaries. This, not so much.



Agreed - use WebM.

You're seeing support for it already in the "imageboards" like 4chan. It's much better compressed than any dirty hack like this.

I always appreciate seeing the odd dirty hack, though!


there is also the apngasm kickstarter project (already funded) that is building tools for legacy browsers to work with apng ... including pure javascript based graceful degradation.

https://www.kickstarter.com/projects/374397522/apngasm-foss-...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: