top | item 41335348

(no title)

M-Valentino | 1 year ago

I want a phone that lets you shoot PNG

discuss

order

The_Colonel|1 year ago

Why? PNG is really a bad format for photos (simply was not designed for this use case)

JPEG-XL has a lossless mode if that's what you're after ...

M-Valentino|1 year ago

I like PNG's lossless compression. I feel like PNG was a really bad format back when hard drives were 100GB, but now storage is so cheap. I didn't know JPEP-XL had a lossless mode. Other than that format, I don't know of any other formats that offer lossless compression other than bitmap and TIF. You can't really use TIFs in many contexts and bitmaps have no compression at all.

t-writescode|1 year ago

PNG is designed for images that don't change colors between each pixel very often. That's how its compression algorithm works.

Images, by their nature, are far more fluid, which is why a FFT-based compression algorithm, like the one in jpegs, makes sense for photos.

metaphor|1 year ago

> FFT-based compression algorithm, like the one in jpegs

Nit: DCT-based

M-Valentino|1 year ago

My idea for wanting PNG encoding is that they have lossless compression, and that the other common format that preserves details is bitmap, which has no lossless compression. At least PNG might compress photos somewhat. The web is plagued with images that have been resaved over and over that have JPEG degradation. I did not know JPG-XL had a lossless format so that's promising imo. But JPG-XL isn't supported in many browsers.

xnyan|1 year ago

Unless you'll exclusively use it for pictures of text intended for web consumption, you don't.