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

It's actually more of a hack to deal with malformed GIFs and goes directly against spec. To address GIFs where each frame has a 0 frame delay, most GIF decoders implement a minimum frame delay value.

See: http://nullsleep.tumblr.com/post/16524517190/animated-gif-mi...

Edit: This is what it looks like with all frame delays set to 2 centiseconds: http://i.imgur.com/24xpZEd.gif

On Chrome and Firefox, you should see it animate more quickly.



GIF performance seems improved in safari, at least in 6.x, though this is just anecdotal evidence. The GIFs with 0.02 second frames (the actual ones, not just the "here's what it looks like under x browser" ones) seem to render with the same frame rate for me in Safari and Chrome now.


I figured that that was the issue. Thanks for the link!


Interesting, thanks for the details




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

Search: