this post was submitted on 11 May 2025
175 points (97.8% liked)

simpsonsshitposting

4136 readers
138 users here now

I just think they're neat!

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] kubica@fedia.io 23 points 3 months ago (4 children)

It was an ingenious solution to fake color that didn't exist on a limited palette. If you ever wondered what was the trick for some gifs to have so good colors, they likely used a custom palette, for example in this case it would discard greens and use those places to have more options for browns.

[–] luna@lemmy.catgirl.biz 4 points 3 months ago* (last edited 3 months ago) (2 children)

Not sure if GIF has a "default" palette but it does have a global palette per file and each frame can have its own "local" palette. That way each frame can have its own personalized 256 colors and more accurately represent the source material. It bloats the filesize though as one would expect when adding up 256 x 3 (RGB) x NumberOfFrames bytes instead of just 256 x 3 bytes (just for palette data). Filesize can further bloat by using dithering which is effectively adding randomness to each frame and compression generally doesn't do well the more random the data is. End result is a great looking GIF but at this point, why aren't you using a proper video codec? :D

[–] kubica@fedia.io 1 points 3 months ago

Many media hosts used to only accepted gifs but not videos and some people liked the challenge.

load more comments (1 replies)
load more comments (2 replies)