News for hackers. Stuff that matters.
Re:iPhone 16 could let you shoot in JPEG-XL by t-writescode on Friday August 23, 2024 @11:42PM (#41335403)
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.

Re:iPhone 16 could let you shoot in JPEG-XL by metaphor on Saturday August 24, 2024 @01:14AM (#41335819)
> FFT-based compression algorithm, like the one in jpegs

Nit: DCT-based

Re:iPhone 16 could let you shoot in JPEG-XL by M-Valentino on Saturday August 24, 2024 @02:18AM (#41336070)
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.