this post was submitted on 20 Sep 2025
605 points (82.6% liked)

Programmer Humor

26673 readers
1631 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
you are viewing a single comment's thread
view the rest of the comments
[–] carpelbridgesyndrome@sh.itjust.works 25 points 1 week ago (1 children)

The first part is wrong. And the second part is mostly wrong. Stop whining

Pro tip: If discord is complaing your screenshots are too large convert them to avif or webp. Now you don't need nitro

[–] NateNate60@lemmy.world 11 points 1 week ago (3 children)

I have never had a screenshot exceeding 40 MB. That is humongous.

[–] sheogorath@lemmy.world 3 points 1 week ago (1 children)

What if I want to screenshot my cocaine-fueled rant to my ex and mistakenly send it to said ex instead of my homies?

[–] Ceruleum@lemmy.wtf 1 points 1 week ago

Then you need more cocaine.

[–] GamingChairModel@lemmy.world 3 points 1 week ago (1 children)

If you screenshot computer/phone interfaces (text, buttons, lots of flat colors with adjacent pixels the exact same color), the default PNG algorithm does a great job of keeping the file size small. If you screenshot a photograph, though, the PNG algorithm makes the file size huge, because it's just really poorly optimized for re-encoding images that are already JPG.

[–] NateNate60@lemmy.world 1 points 1 week ago* (last edited 1 week ago) (1 children)

I took a screenshot of this page

(Screenshot removed because it takes forever to load and is not interesting enough to waste bandwidth on)

I am connected to a 4K monitor and this picture is also at 3775 × 2119. The total file size:

12.1 MB

[–] GamingChairModel@lemmy.world 1 points 1 week ago

Still a pretty limited palette, everyone wearing the same color shirts.

PNG tends to fail hard with textures. For example, my preferred theme in my chess app, which has some wood grain textures, generates huge screenshot file sizes (2MB), whereas the default might be less than 10% as large. Similarly, when I screenshot this image the file size jumps to 2MB for a 0.8 megapixel image.

Rendered textured scenes could easily overload the PNG compression algorithm to where they're huge, and if Discord is historically associated with gaming, one can imagine certain video game screenshots blasting past that 40mb limit.

Screenshoting modded minecraft on a 4k panel does it reliably for me