News for hackers. Stuff that matters.
Re:Regressive JPEGs by Dwedit on Saturday July 18, 2026 @08:07AM (#48957345)
Interesting that people are making hacks of PNG to do animations, yet there's also APNG sitting over there saying "Hey I exist!"
Re:Regressive JPEGs by donatj on Saturday July 18, 2026 @08:12AM (#48957404)
You don't even need a hack, there's built-in support for this.

https://en.wikipedia.org/wiki/Motion_JPEG

I've been here screaming "Motion JPEG EXISTS and is well supported in browsers" the entire time those gif hacks were popular. I've built a bunch of cool stuff with it.

https://github.com/donatj/mjpeg-php/blob/master/mjpeg.php

https://github.com/donatj/imgboard/blob/master/main.go

Re:Regressive JPEGs by Retr0id on Saturday July 18, 2026 @10:53AM (#48958688)
We even have proper video codecs like h264!
Re:Regressive JPEGs by account42 on Monday July 20, 2026 @03:58AM (#48975555)
Which can't be used in <img> tags which is the only method users have to embed media in many contexts.
Re:Regressive JPEGs by qingcharles on Saturday July 18, 2026 @10:58AM (#48958723)
Sure, but most sites strip the animation out of APNGs while still allowing GIFs, which is frustrating.