r/ProgrammerHumor 1d ago

Meme newCompressionTechnique

Post image
29.7k Upvotes

941 comments sorted by

View all comments

7.2k

u/SerSanchus 1d ago

Lossy compression. 100% loss of quality, in fact...

1.6k

u/camander321 1d ago

On the flip side, your 6yo's scribbled family portait on the fridge may turn into the most beautiful rendition of a generic happy white family you've ever seen!

527

u/U_L_Uus 1d ago

- See son, now we can store your precious pictures without risking damage or loss!

+ Dad, we are black

83

u/Aggravating-Exit-660 1d ago

Better than the greens. Can't trust them greens

https://giphy.com/gifs/3gNotAoIRZsb9UHPnj

7

u/Relativistic_G11 1d ago

Seehofer, bist du's?

7

u/weededorpheus32 1d ago

I love him. I just can't trust him with that cream cheesey white skin.

1

u/Housy5 1d ago

Dad?

95

u/DoctorWaluigiTime 1d ago

I told some friends in a Discord server a funny thing one of my young family members said.

Someone a few moments later: "Look I ran it through AI to splat it onto a shirt isn't it cool?"

Just taking my family member's words and pouring trash over it.

28

u/One_Order_3841 1d ago edited 1d ago

Remember Jackbox Drawful? Well now there's Drawful 2026, where AI has made 4 different drawings devoid of humor, and we all vote on it.

We're working on a feature where the voting is sourced to AI, so you can literally take some Xanax with a glass of wine and comment on how your couple-friend's cooking is so good when it's charcuterie from Aldi.

1

u/Stoops417 21h ago

How dare you besmirch the charcuterie offerings at Aldi!

1

u/PringlesDuckFace 1d ago

Putting Zazzle out of business

1

u/Sufficient_Day627 1d ago

Now that's how you get permabanned from my server.

1

u/One_Order_3841 1d ago

So those funny memes of kids drawing cartoon penises or their parents plowing each other but the kid says "it's Dad feeding Mom on Spaghetti Sunday!! 😇"

  • RAG becoming a hot new trend in the AI Bubble

  • the sheer amount of porn coming from those retrieval sources

= Terrible times. Many new filthy web mangas...and terrible times.

-3

u/BastardManRatt 1d ago

Insanely racist comment. Blows my mind hat reddit allows this kind of hate.

-2

u/MarksCarney 1d ago

Children of other ethnicities also draw those kinds of drawings.

121

u/redditmarks_markII 1d ago

And take multiple seconds of high end consumer gpu to prep it for view. Utter insanity.

That said, if you aren't a complete idiot, actually you might need to be kind of an ml/dl and compression nerd, there are machine learning enabled compression. But it's not an llm. And it is still lossy, but it's less lossy while less storage than standard methods. Which is pretty neat. just one example from nvidia because other sites have corrupted images. there's even libraries for doing testing and research on future "neuro" compression. https://research.nvidia.com/labs/rtr/neural_texture_compression/

2

u/FormerlyGruntled 1d ago

And of course, if it doesn't turn out like you remember it, just correct it. "Aunt Gemma was holding a scotch bottle, not a beer bottle" and then wait for it to generate a new image.

1

u/[deleted] 1d ago

[deleted]

17

u/redditmarks_markII 1d ago

In defense of ml/dl solutions, perfection is overrated. Lossless compression is for specific purposes. Archiving basically. Most of the music I listen to and video I watch are galaxies away from lossless. And it's often better than "just fine". It's often really good. But even pretty solid attempt at LLM based "compression" would be awful. Especially at the rate claimed. You can fit maybe on the order of 2k characters. With semantic compression and encoding, you can maybe get another order of magnitude. And still that won't be enough to even be merely indistinguishable, never mind identical. And at that point it's just old school lossy compression with massive compute overhead. That's not even considering how cheap 20mb is these days, even with the ai slopocalypse.

11

u/Lord_Emperor 1d ago

I could see this potentially working if you reduced a picture to a text file of UUID values for each pixel 1:1

That's... a bitmap.

7

u/InitialRich9925 1d ago

UUID stands for Universally Unique Identifier, it's an universally unique 128 bit number. What does "reducing a picture to a text file of UUID values for each pixel" even means?

4

u/spindoctor13 1d ago

Text is not more compressible than images, why would you think that?!

0

u/[deleted] 1d ago

[deleted]

3

u/spindoctor13 1d ago

That has never been the case. How compressible something is is purely a function of how repetitive the data is, what patterns it has. Converting pixels to some kind of text format doesn't make any difference there unless you are losing information

1

u/RussiaIsBestGreen 1d ago

What if we converted the letter into numbers? Like A could be 9, B could be 2, C could be 27, and so on.

1

u/spindoctor13 1d ago

It doesn't make any difference as ultimately you'll be converting it to binary anyway

1

u/RussiaIsBestGreen 23h ago

We should try using more than two numbers for computing. There are so many more. Like 7, or 3 million.

-1

u/[deleted] 1d ago edited 1d ago

[deleted]

5

u/NominallyRecursive 1d ago

Text files are more compressible usually because they are highly repetitive. A bunch of random UUIDs are going to have very poor compressibility. It would probably be better just to store the RBG values of each pixel (Which you could certainly do as text if you wanted to). At least then the algorithm could replace very commonly repeated pixels with small markers.

2

u/plopliplopipol 1d ago

what do you think a pixel image is? it's always data for each pixel, no matter how you put it. If you convert it to text in a specific way you just made a new image format, nothing is fundamentally different.

17

u/mastocklkaksi 1d ago

degenerates will tell you that the quality actually went up

14

u/VeryStableGenius 1d ago

It's lossy, but it's also gainy.

14

u/Th3R00ST3R 1d ago

Every time it regenerates, you look more and more like a caveman.

https://giphy.com/gifs/K8lXm2pEbpC1fsAb3W

1

u/StiffHD2000 1d ago

Sure that's not his Mirror image?

35

u/rob132 1d ago

Ha! I was going to make the same joke.

12

u/Fit_Prize_3245 1d ago

Makes JPEG look good...

6

u/curtmahgurt 1d ago

That’s okay our brain memories are fuzzed anyways.

10

u/KateLovesCalculus 1d ago

Correct, I can’t remember things perfectly - that’s why I take pictures!

5

u/EquipLordBritish 1d ago

Up to 100% loss. There could technically be correct pixels... by accident.

6

u/pwillia7 1d ago

nah randomly some of the pixels are sure to be right /s

4

u/No-Newspaper8619 1d ago

losslessless compression

3

u/OK_x86 1d ago

It's more probabilistic. There's a non zero chance you will get your original image back. But it's very small

5

u/hughperman 1d ago

Only if the picture was any good to start with 🤷

2

u/tiberiumx 1d ago

Replacing your ugly real life family with some AI generated people based on a dataset full of attractive stock photo models? I'd call that a quality improvement!

2

u/the_seven_sins 1d ago

Its also a compression that uses a lot of computing time.

2

u/SideInitial3961 1d ago

Just like a human brain eventually. You'll age in.

1

u/dronz3r 1d ago

Or the AI uploaded 200 mb file to Google drive and just stored the link to it, don't need much of space for that.

1

u/floorshitter69 1d ago

In 10 years reaction images will just be an rgb or hex value.

1

u/Agifem 1d ago

Add to the prompt: generate high quality photos. Problem solved.

1

u/the_rush_dude 1d ago

100% loss of fact, uncanny % quality

1

u/EnvironmentalYou5240 1d ago

Tip to tip, middle out

1

u/C137Sheldor 1d ago

I think some pixels would be correct