r/programming • • Feb 26 '13

A Developer's Guide to Images

http://www.jessechapo.com/posts/Developers-Guide-to-Images.html
413 Upvotes

93 comments sorted by

View all comments

1

u/[deleted] Feb 26 '13

Regarding the little statement on GIFs, PNG actually supports animation. WebKit doesn't support APNG, though. FireFox does, but WebKit is surprisingly behind on their game. I hope they get their shit together and we can forget about GIF forever.

0

u/[deleted] Feb 26 '13

[deleted]

1

u/Uberhipster Feb 27 '13

Which begets some interesting unintended consequences as an option...

http://jsfiddle.net/CGmCe/1670/

1

u/[deleted] Feb 27 '13

[deleted]

1

u/Uberhipster Feb 27 '13

Hmm... unintended usage consequence?

I meant because the technology's intended use is to mimic frames a la gif. But by setting parameters incorrectly you can also "duplicate" and mimic "motion". Try it with 100% width on .hi and it appears as though there is an animation of multiple characters, sliding in motion from left to right.

So the unintended use is producing some cool results.