this post was submitted on 18 May 2024
1338 points (98.9% liked)

Science Memes

10950 readers
1998 users here now

Welcome to c/science_memes @ Mander.xyz!

A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.



Rules

  1. Don't throw mud. Behave like an intellectual and remember the human.
  2. Keep it rooted (on topic).
  3. No spam.
  4. Infographics welcome, get schooled.

This is a science community. We use the Dawkins definition of meme.



Research Committee

Other Mander Communities

Science and Research

Biology and Life Sciences

Physical Sciences

Humanities and Social Sciences

Practical and Applied Sciences

Memes

Miscellaneous

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] LillyPip@lemmy.ca 11 points 5 months ago (2 children)

Jpg for photos, png for everything else.

It’s an easy rule of thumb, it hurts that 20 years of repeating it seems to have had zero effect.

Maybe this helps: Jpg fucks up your image, and png doesn’t.

Or: jpg is lossy, png is lossless.

Or: It’s better to save photos as png than cartoons as jpg.

Seriously, I hope some of this breaks through because deep fried images are so fucking unnecessary.

[–] LostXOR@fedia.io 2 points 5 months ago (1 children)

I hear WebP can often offer much better compression than PNG in lossless mode so that could be an alternative.

[–] LillyPip@lemmy.ca 1 points 5 months ago* (last edited 5 months ago)

Could be. I’m not as familiar with that format – a major strength of png is that anything can open and view it properly. It’s been a standard for decades, so it has universal compatibility.

e: I’m not going to look into that specific format (I stopped caring about the inner workings of file formats like 15 years ago when I stopped getting paid to care), but I think I could bet you that webp is a document hierarchy wrapper on png, jpg, gif, mpeg, etc, ad inf.

I had to exit this comment and look again because I couldn’t remember if you’d said webm or webx or webp or whatever. The last I knew, that’s not a file format but a codepage (nowadays, that’s usually a cheap wrapper over code they found and repackaged).

That’s massively simplified, but if you’re asking that in this thread, I’m worried people are being sold a difference that doesn’t exist.

[–] nossaquesapao@lemmy.eco.br 1 points 5 months ago (1 children)

Are there any downsides to saving photos as pngs?

[–] LillyPip@lemmy.ca 5 points 5 months ago* (last edited 5 months ago)

Slightly larger file size, which mattered in like 2002, but it’s only a few mb, which doesn’t matter at all now.

e: if you’re a professional photographer and saving stupidly high resolution images by the thousands, you’ll want to use jpg, but in that case, you’ll understand why.