this post was submitted on 05 Sep 2024
44 points (97.8% liked)

Technology

34395 readers
453 users here now

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

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 10 points 2 weeks ago* (last edited 2 weeks ago) (6 children)

Well that didn't last very long. It was 8 MB for like six years and then it just went to 25 MB maybe a year ago and now we're back down to 10 MB.

I'm surprised they aren't offsetting the cost by selling all our data to language learning models like everyone else is

[–] [email protected] 7 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

I’m surprised they aren’t offsetting the cost by selling all our data to language learning models like everyone else is

Hah. Hahaha. Hahahahahahaahahahahahaha. HAHAHAHAHAHAHAHAH

[–] [email protected] 3 points 2 weeks ago (1 children)

Just to be clear, I 100% think they are selling our data. What I meant was I'm surprised they're concerned about the size of the uploads when they could just be selling the uploaded data.

[–] [email protected] 2 points 1 week ago (1 children)

For the record, they still claim that they do not sell user information nor data.

[–] [email protected] 3 points 1 week ago

Giving it to China for free isn't selling. Its just called "investor relations"

[–] [email protected] 3 points 2 weeks ago

Look up the Discord Summaries BETA.

They already have "AI" monitoring all chats.

It would be "stupid" of them to not abuse that. (Unmorally stupid that is)

[–] [email protected] 3 points 2 weeks ago (1 children)

And standard screenshots of my desktop are ~30mb, I was lucky to upload it lol

[–] [email protected] 2 points 2 weeks ago (1 children)

What format are you saving them in? BMP? Try png.

[–] [email protected] 1 points 2 weeks ago (3 children)

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.

[–] [email protected] 2 points 2 weeks ago (1 children)
[–] [email protected] 1 points 2 weeks ago (2 children)

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.

[–] [email protected] 2 points 2 weeks ago

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.

[–] [email protected] 1 points 1 week ago

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.

[–] [email protected] 0 points 2 weeks ago (1 children)

You know PNG is lossless compression right?

[–] [email protected] 2 points 2 weeks ago* (last edited 1 week ago) (1 children)

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.

[–] [email protected] 1 points 1 week ago (1 children)

Why do you think it's a performance hit?

[–] [email protected] 2 points 1 week ago (1 children)

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.

[–] [email protected] 2 points 1 week ago

What about compression level 1 instead of 9?

[–] [email protected] 0 points 2 weeks ago (1 children)

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

[–] [email protected] 0 points 2 weeks ago (1 children)

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.

[–] [email protected] 0 points 2 weeks ago (1 children)

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

[–] [email protected] 1 points 2 weeks ago (1 children)

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] 0 points 2 weeks ago* (last edited 2 weeks ago) (2 children)

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

[–] [email protected] 1 points 2 weeks ago

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.

[–] [email protected] 1 points 2 weeks ago

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.

[–] [email protected] 3 points 1 week ago* (last edited 1 week ago)

"by selling all our data to language learning models like everyone else is"

I imagine China is using it for free since Tencent owns a 38% stake.

[–] [email protected] 2 points 1 week ago

They increased to 25 to encourage media uploads to train their own models with. They now have collected enough metrics to realize, most valuable content is below 10MB. Now they are optimizing. They won't lose anything valuable to them and the users who are impacted might even buy Nitro now. Win-win for them

[–] [email protected] 0 points 1 week ago (1 children)

Wait, I ~never was notified that it got to 25mb, I thought it was 8

[–] [email protected] 2 points 1 week ago

It might have only even been like six months. It was in the little change log pop up during one of the updates at some point