this post was submitted on 22 Sep 2025
328 points (96.6% liked)

Programmer Humor

26650 readers
1931 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 

For anyone curious - https://flif.info/

EDIT: am a dumbass, JPGXL extends from FLIF

you are viewing a single comment's thread
view the rest of the comments
[–] LegoBrickOnFire@lemmy.world 4 points 1 week ago (3 children)

Compression algorithms are magic. Especially lossless compression.

[–] calcopiritus@lemmy.world 4 points 6 days ago* (last edited 6 days ago) (2 children)

For me it's the opposite. Lossy ones (the ones that seem to maintain quality while lowering size by a lot) are magic to me but lossless is understandable.

What do you mean "treat this image as a wave and do an inverse Fourier transform on it in order to discard the high frequency low amplitude noise". wtf? Straight up magic.

[–] LegoBrickOnFire@lemmy.world 2 points 6 days ago (1 children)

I guess there are two kinds of magic. There is the magic of Fourrier which is lossy with funny math. But it is understandable that one can get higher compression ratios when it's lossy. But I find it even more magic that we can still find better ways to encode images losslessly. I would have thought we had already long found the optimal way

[–] LeFantome@programming.dev 1 points 5 days ago

Look at everyday things that occasionally improve. We have probably not found the optimal way for almost anything.

Most of us just are not smart enough to find a better way.