News for hackers. Stuff that matters.
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.