News for hackers. Stuff that matters.
Re:PNG files can be animated via network latency by deepsun on Thursday June 24, 2021 @02:20AM (#27614522)
Do you really expect readers spend 29 minutes watching a video to eventually see the example?
Re:PNG files can be animated via network latency by vanderZwan on Thursday June 24, 2021 @02:51AM (#27614657)
No, they expect that if you're interested in "how various image formats look as they load" and the explanation behind them, that this will be an interesting video to you.

Also, I just skimmed through it: it contains many examples throughout, and given that what's being shown is how an image changes over time as it loads, a video is not an inappropriate format I'd say.

Re:PNG files can be animated via network latency by jaffathecake on Thursday June 24, 2021 @06:13AM (#27615740)
Exactly! Thanks. Can't please everyone I suppose :)
Re:PNG files can be animated via network latency by vanderZwan on Thursday June 24, 2021 @06:51AM (#27615931)
Well, I enjoyed (skimming through) it :)

The part where the two of you discuss how Firefox and Chrome now load progressive JPGs with blur instead of keeping it pixelated made me wonder: what happens if I set the CSS of an image to upscale it with pixelation? Does it also force progressive JPGs to stay pixelated while loading?

[0] http://phrogz.net/tmp/canvas_image_zoom.html

Re:PNG files can be animated via network latency by jaffathecake on Thursday June 24, 2021 @08:42AM (#27616658)
Good question! I don't know off the top of my head, but since the decoder and CSS are seperate, I think you'll still get the blurred version, but then up/downscaled using nearest neighbour.