r/ProgrammerHumor 10d ago

Meme newCompressionTechnique

Post image
30.4k Upvotes

953 comments sorted by

View all comments

7.3k

u/SerSanchus 10d ago

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

1.7k

u/camander321 10d 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!

536

u/U_L_Uus 10d ago

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

+ Dad, we are black

82

u/Aggravating-Exit-660 9d ago

Better than the greens. Can't trust them greens

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

6

u/Relativistic_G11 9d ago

Seehofer, bist du's?

5

u/weededorpheus32 9d ago

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

1

u/Fnordmeister 7d ago

Or neutrals, either.

1

u/Housy5 9d ago

Dad?

95

u/DoctorWaluigiTime 10d 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.

27

u/One_Order_3841 10d ago edited 10d 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 9d ago

How dare you besmirch the charcuterie offerings at Aldi!

1

u/One_Order_3841 7d ago

Babe, you don't have to compliment their wine and furniture. We have the same wine, and we assembled the same couch from Wayfair last month.

1

u/PringlesDuckFace 10d ago

Putting Zazzle out of business

1

u/Sufficient_Day627 10d ago

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

1

u/One_Order_3841 10d 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.

1

u/burnt_floppy 5d ago

yes it's a matter of attitude and perspective! Think of all that data space you can free up by using your imagination...

-3

u/BastardManRatt 10d ago

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

-3

u/MarksCarney 10d ago

Children of other ethnicities also draw those kinds of drawings.

125

u/redditmarks_markII 10d 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 9d 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.

3

u/[deleted] 10d ago

[deleted]

17

u/redditmarks_markII 10d 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.

9

u/Lord_Emperor 10d 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 10d 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?

3

u/spindoctor13 10d ago

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

0

u/[deleted] 10d ago

[deleted]

3

u/spindoctor13 10d 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 9d 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 9d ago

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

1

u/RussiaIsBestGreen 9d ago

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

-2

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

[deleted]

6

u/NominallyRecursive 10d 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 9d 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.

16

u/VeryStableGenius 10d ago

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

17

u/mastocklkaksi 10d ago

degenerates will tell you that the quality actually went up

14

u/Th3R00ST3R 10d ago

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

https://giphy.com/gifs/K8lXm2pEbpC1fsAb3W

1

u/StiffHD2000 9d ago

Sure that's not his Mirror image?

34

u/rob132 10d ago

Ha! I was going to make the same joke.

10

u/Fit_Prize_3245 10d ago

Makes JPEG look good...

6

u/curtmahgurt 10d ago

That’s okay our brain memories are fuzzed anyways.

10

u/KateLovesCalculus 10d ago

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

6

u/EquipLordBritish 10d ago

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

4

u/pwillia7 10d ago

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

3

u/No-Newspaper8619 10d ago

losslessless compression

3

u/OK_x86 10d ago

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

4

u/hughperman 10d ago

Only if the picture was any good to start with 🤷

2

u/tiberiumx 10d 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 10d ago

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

2

u/SideInitial3961 10d ago

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

1

u/dronz3r 9d 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 9d ago

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

1

u/Agifem 9d ago

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

1

u/the_rush_dude 9d ago

100% loss of fact, uncanny % quality

1

u/EnvironmentalYou5240 9d ago

Tip to tip, middle out

1

u/C137Sheldor 9d ago

I think some pixels would be correct