I'd like to at some point. I did start writing a JPEG-XL parser and I got the basic container parsing done but the actual entropy-coding seems really complex and I gave up
Nice! That tracks though 😅. I have a ton of free time so I'm hoping I can power through but only time will tell. I'm hoping I can engage enough of my math brain to grasp things though I expect that to take a while.
It would be a civic good if more people intuitively understood basis functions. Have you ever seen Olshausen & Field? You apply sparsity to the optimal basis function for natural images and you get from there to a basis function that looks nigh precisely like V1 receptive fields in mammal brains
tutorial: draw the entire owl. then, draw most of the owl again. now draw the entire fucking owl again. alright, now draw the entire owl, again. now draw most of the owl again. now draw the entire owl again. now draw most of the owl again. now draw the entire owl again. now draw some of the owl. now
you should ask about webm it's actually interesting. gif, the underlying format, should die in a fire. but people are attached to the name and the way they show up, and don't realize how bad the format is. it's just about the worst video format you can imagine
I looked it up, webm is a container, the actual formats are vp8 and vp9. looks like they're similar to H.264 (usually mp4), probably more explainers for that online. general idea:, do the jpeg thing, then move stuff around and slightly change it. https://en.wikipedia.org/wiki/VP9#Technology
Gif is a static image video format with the addition of frames that can be displayed one on top of the previous one. It's never been a video format. It was designed for static images or small animations.
It's like a tradition. 😂 Twitter converts them to video format, that are not gif anymore once uploaded. And AFAIK you can't upload them to Bluesky. It's stupid to use them for video. 😅
They were used before because many websites allowed them in place of images, while not allowing video.
video is just a series of images - there's no difference in this difference, other than that gif is bad at being a video format because it doesn't have motion coding or good color depth or entropy coding or etc. like I said elsethread, a zip of pngs is a video format.
gif isn't a good compressor for *anything*, nevermind natural images. those are quite hard to compress, and we have very effective compressors that do a great job. if you share a "gif" from tenor to discord, it's probably not actually a gif file. gif itself is dying, but the name and autoplay isn't.
I wasn't kidding! I was giving a calibration reference - APNG looks like a better format than zip of PNGs, for the same main reason gif is a better format: if the images aren't entirely separate, you can use alpha to get *some* frame to frame savings
Comments
"Did Selena strap up do the Diddy?
Yeah. J pegged."
https://understandinglinearalgebra.org/sec-jpeg.html
They were used before because many websites allowed them in place of images, while not allowing video.