Top
Best
New

Posted by vitaut 1 day ago

Regressive JPEGs(maurycyz.com)
642 points | 65 commentspage 2
xnx 20 hours ago|
Excellent hack! Should definitely be possible to make an animated gif to jpeg converter. I guess the animation could be slowed a little by repeating frames.
londons_explore 20 hours ago|
You can also deliberately have the server sending data at the right rate for the right playback time.

Easy enough to add a delay() each frame if your server is python/nodejs/PHP/whatever

remix2000 17 hours ago||
Wow, Firefox never fully loads the page, while WebKit fails to load it altogether, instead it displays "Operation was cancelled" in system font after a short freeze. I didn't manage to see the images change in any way as the post would suggest though, which left me confused.
tensegrist 9 hours ago||
oh i thought this was going to be a jpeg that loaded the highest-frequency data first and added the lower frequency data later
Grimblewald 19 hours ago||
insanity of content aside, that's a really nice website. Kudos.
Jabdoa2 16 hours ago||
Now you just have to mod your webserver to send the image chunk by chunk (with waits in-between). That way network latency does not matter. Also it probably reduces artefacts as bytes from one frame most likely are received in one network packet.
inigyou 17 hours ago||
This website appears to be maliciously using IP address blocking. Here is a less-censored link: https://web.archive.org/web/20260718065449/https://maurycyz....

Obviously the demonstrations that rely on server-side timing don't work through archive.org.

vanderZwan 19 hours ago||
I wonder if you can do this in JPEG-XL. I know that that has actual animation support, but this would be a different thing.
cyberrock 19 hours ago|
The format supports progressive decoding but IIRC none of the current browser implementations support it. The first Chrome and Firefox implementations did, and I think it's on their roadmap for the new Rust implementation. No idea about WebKit/Safari.

Edit: the format also supports region-of-interest decoding and I suspect you can make some cool maps or fractal images with both features. But I think they're not quite prioritizing implementing that right now.

vanderZwan 17 hours ago||
> The first Chrome and Firefox implementations did

I was about to say: I'm sure I've seen it work a t some point? I imagine it's a valuable thing to add for the web though. It would be really cool if you could use the same image source for thumbnail and full image, and the browser both just figures out how much to download based on pixel size and can resume previously partially downloaded images.

And yeah, the tiling isn't implemented anywhere yet, jxl doesn't really get enough funding for that. But it'll be really cool once it does since it also makes it really useful for giant images of geographic data. I don't know if it combines with streaming downloads as well, but it would be crazy cool if we effectively got OpenSeaDragon[0] support inside an image format

[0] https://openseadragon.github.io/

akoboldfrying 16 hours ago||
I love the first JPEG where the final image is... a different picture of the cat. "The first images you see are just approximations to the final, exact version." Audience's heads nod in understanding
korbatz 19 hours ago||
If the online porn industry hasn't used it, it's probably worthless. Still funny, though.
einpoklum 11 hours ago|
I like how that website has not just a "Dark" and "Light" mode, but also a monochromatic "TTY" mode.
More comments...