view the rest of the comments
Technology
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
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?
But that's patently untrue: take this 10 MB example TIFF file as an example.
PNG Compression, max compress (=quality 9):
JPG Encoding, 99% quality (=quality 99):
Final file size comparison:
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.
png - jpg
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.