Discord lowers free upload limit to 10MB: “Storage management is expensive” - Dexerto
www.dexerto.com
external-link
Discord is lowering the upload limit for free users from 25MB to 10MB, citing operational and financial reasons.
Lucy :3
link
fedilink
44M

I am using png. Level 0 compression tho and in 4k (3840*2160), sometimes even 4k + 2*1440p (2560*1440), but it’s already too large with just my main 4k monitor.

Why 0 compression?

Lucy :3
link
fedilink
24M

Because it was never a problem. It’s a little bit faster for encoding and decoding, and no service ever had problems with the file size. Especially not my selfhosted stuff. Every service, except discord. As I now have resorted to using Vencord or just uploading most media to Nextcloud, I don’t have that many issues with it anymore, anyway.

How does Vencord help with the upload limit?

Because it was never a problem.

But you literally started this thread because it’s a problem. And then you spent more time defending your bad choice on a Lemmy discussion than you will ever save in your entire life decompressing PNGs.

NekuSoul
link
fedilink
64M

It’s a little bit faster for encoding and decoding

On the other hand, the time spent uploading/downloading much smaller files probably more than makes up for that, although even that difference might get pretty small with modern internet connections.

Lucy :3
link
fedilink
14M

Especially in times where using WiFi is faster than ethernet, because my network ports are only gigabit.

JackbyDev
link
fedilink
English
64M

You know PNG is lossless compression right?

Lucy :3
link
fedilink
0
edit-2
4M

Yes. But in theory it’s still a performance hit, and as I have enough local storage (and typically use services with high limits), and I’m too lazy to change grims config just for discord, I never changed it and used Vencord instead.

JackbyDev
link
fedilink
English
24M

Why do you think it’s a performance hit?

Lucy :3
link
fedilink
24M

Because even though it saves over 29 MB, it also takes more than 20 times as long. And that’s just on my laptop, 1920x1080 + 2*1680x1050. On my PC it’s even worse.

I have thousands of GB of high speed storage, Gigabit internet, but only a Ryzen 5 2600 and a i5-1145G7.

JackbyDev
link
fedilink
English
24M

What about compression level 1 instead of 9?

PNG started out as ZIP(BMP) and hasn’t gotten that much better. Use JPEG. The pixels you lose are not worth crying about

JPEG for graphics like screenshots is not very efficient. For stuff like that, png is simply superior. (But not with compression 0)

PNG is not good for photos though.

why though? The graphics represented in the screen are already squashed and scaled, so you wouldn’t be preserving their quality in any case. If you’re worried about text, JPEG should still be able to handle it under high quality settings

We can ask the same the other way around: why do you want to use jpg if it results in a bigger size and worse quality than png?

@[email protected]
link
fedilink
0
edit-2
4M

But that’s patently untrue: take this 10 MB example TIFF file as an example.

  • PNG Compression, max compress (=quality 9):

    convert file_example_TIFF_10MB.tiff -quality 9 test.png
    
  • JPG Encoding, 99% quality (=quality 99):

    convert file_example_TIFF_10MB.tiff -quality 99 test.jpg
    

Final file size comparison:

9.7M Sep  5 13:21 file_example_TIFF_10MB.tiff
1.7M Sep  5 13:22 test.jpg
2.5M Sep  5 13:22 test.png

PNG is significantly larger, and difference in quality between them is negligible

Dude. Did you even read what I wrote? PNG is bad for photos. Your example is a photo. Go ahead and try the same with a screenshot with text and menus showing.

ms.lane
link
fedilink
English
34M

png - jpg

156K Sep  5 23:06 Screenshot_20240905_230459.jpg
137K Sep  5 23:05 Screenshot_20240905_230459.png

jpg with 80% compression, via krita.

As B0rax said, for screenshots, png is better - it can represent line graphics and text more efficiently.

Thanks for this. Still, I would be curious to see this for a 4K level image. Also I wonder if your screenshot tool did a bitmap copy of the screen or intrinsically converted it to PNG first before pasting it into your paint editor.

Lucy :3
link
fedilink
24M

I use 4k because I like seeing a lot of stuff at the same time in good quality.
I make screenshots of my whole screen to share all the stuff in the highest detail.
Using jpeg would result in literally unreadable pictures.

Depends on the Quality setting and version of jpeg. Even the original jpeg, on high quality, will result in little to no data loss. IIRC, Jpeg can even do lossless, with the only caveat being that it doesn’t save alpha channels (but screenshots don’t need to have transparency, anyway). Newer versions of jpeg, such as jpeg-2000 (and the much less broadly supported jpeg-XL) have much better compression and provide higher image quality at lower file size.

“jpegification” or “Deep-frying” only really occurs with the original jpeg at low quality settings.

Or they could just compression for their PNGs. PNG is a lossless format so they’ll only lose a fraction of a second during creation.

Create a post

This is the official technology community of Lemmy.ml for all news related to creation and use of technology, and to facilitate civil, meaningful discussion around it.


Ask in DM before posting product reviews or ads. All such posts otherwise are subject to removal.


Rules:

1: All Lemmy rules apply

2: Do not post low effort posts

3: NEVER post naziped*gore stuff

4: Always post article URLs or their archived version URLs as sources, NOT screenshots. Help the blind users.

5: personal rants of Big Tech CEOs like Elon Musk are unwelcome (does not include posts about their companies affecting wide range of people)

6: no advertisement posts unless verified as legitimate and non-exploitative/non-consumerist

7: crypto related posts, unless essential, are disallowed

  • 1 user online
  • 35 users / day
  • 135 users / week
  • 302 users / month
  • 2.32K users / 6 months
  • 1 subscriber
  • 3.01K Posts
  • 43.3K Comments
  • Modlog