2 ms·
Pretty neat. That sent me on a brief hunt out to see how it might work. It seems that PNG (including APNG) has a fairly easy to follow pattern of chunks. So t
by tyingq 5y ago
Pretty neat. That sent me on a brief hunt out to see how it might work. It seems that PNG (including APNG) has a fairly easy to follow pattern of chunks. So this could be a fairly simple cgi-bin type script that just does a "sleep(2)" or similar when it encounters a fcTL (frame control) chunk.
See https://pyokagan.name/blog/2019-10-14-png/ https://pyokagan.name/blog/2019-10-14-png/ for a good overview of how you might walk over PNG chunks.
- teknopaul 5y ago.gif and quite a few formats support this kinda trick. It's by design. In the olden days the Web was not served at 400mb/s. Even the day—old jpeg xl support such hacks.
- bawolff 5y agoI think the difference is that png uses a more complex interlacing algorithm (adam7) which makes it easier to do these kind of effects.