Hacker News new | ask | show | jobs
by nly 4499 days ago
For anyone wondering how to dump gif loop time.

    curl -s http://imgs.xkcd.com/comics/frequency/turnsignal1.gif | 
        giftext | grep DelayTime | cut -d':' -f 2 | awk '{s+=$1} END {print s/100}'
The results seem to correspond with authors table.
1 comments

Click the show code button at the bottom. They did dump the values (but they wrote their own gif parser...).
Ah thanks, I completely missed that button. I just typed 'gif' in to my terminal and hit tab to see what I had installed, then read the manpage for the most favourable looking binary