this post was submitted on 02 Sep 2026
1192 points (98.7% liked)

Programmer Humor

33104 readers
132 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 3 years ago
MODERATORS
 

you are viewing a single comment's thread
view the rest of the comments
[–] green_red_black@slrpnk.net 12 points 2 days ago (3 children)

I know this is a joke but honestly if an engineer figured out how to make a Jpeg 600 bytes it would be impressive (obviously don't destroy the original even if all worked right.)

[–] UnderpantsWeevil@lemmy.world 46 points 2 days ago* (last edited 2 days ago) (1 children)

if an engineer figured out how to make a Jpeg 600 bytes it would be impressive

Why use many pixel when few pixel do trick?

[–] wonderingwanderer@sopuli.xyz 6 points 2 days ago

If you zoom out really far, you can kinda see it...

[–] NeatNit@discuss.tchncs.de 21 points 2 days ago

something something information theory.

[–] wonderingwanderer@sopuli.xyz 3 points 2 days ago* (last edited 2 days ago) (1 children)

That seems fundamentally impossible.

If you're just doing plain black and white, no grey scale, even ignoring headers the most you can get out of that is 4800 pixels. Say maybe 120x40 or 75x64.

Add in headers to tell the machine where each pixel actually goes and you're looking at way less.

Want greys or color in your image? Forget about it.

[–] glibg10b@lemmy.zip 8 points 2 days ago* (last edited 2 days ago) (1 children)

If you're still thinking in pixels, then you're already behind JPEG. There are other ways to compress visual data, such as in the form of its frequency spectrum, or with vector embeddings

[–] wonderingwanderer@sopuli.xyz 5 points 2 days ago (1 children)

Or in a tensor field consisting of billions of weighted parameters across several matrices which then get multiplied along specific embedded vectors, apparently...

[–] CanadaPlus@lemmy.sdf.org 2 points 2 days ago* (last edited 2 days ago)

To explain a bit more, most of the information in an image is actually stuff we would never notice. The very specific way a few of a pixels slightly deviate from a perfect gradient, for example.

The basic idea of a jpeg is to convert an image to a kind of frequency space, where each pixel corresponds to a specific wave-like pattern. It's reversable, preserving the information. and fast conversion to do, thanks to FFT. Even without, it would only be quadratic time. Then, the algorithm crops it in that new space. (IIRC jpeg actually has a few extra features, as well)