News for hackers. Stuff that matters.
Re:iPhone 16 could let you shoot in JPEG-XL by M-Valentino on Saturday August 24, 2024 @01:20AM (#41335841)
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.
Re:iPhone 16 could let you shoot in JPEG-XL by TaylorAlexander on Saturday August 24, 2024 @01:53AM (#41335966)
RAW is the correct format for uncompressed images, and you can shoot RAW on iphone: https://support.apple.com/en-us/119916

> I feel like PNG was a really bad format back when hard drives were 100GB

You talk about "hard drive" space even though phones don't have hard drives (more to the point, even if you transfer photos to your desktop they will start on your phone and take up space). The iPhone 15 base model comes with 128GB storage. Uncompressed images take up huge amounts of space and that still affects network transfer times, phone storage, cloud storage, etc.

Anyway you can shoot RAW on your phone right now, which is what you are looking for. Still, it is a niche application because of the storage required.

Re:iPhone 16 could let you shoot in JPEG-XL by eviks on Saturday August 24, 2024 @03:30AM (#41336329)
Storage isn't cheap, check the iPhone storage upgrade prices

And apps have grown in size, and video/photo size has grown

Re:iPhone 16 could let you shoot in JPEG-XL by dark__paladin on Sunday August 25, 2024 @12:25AM (#41344374)
"Storage isn't cheap" "check the [Apple product] upgrade prices"

Under this logic, RAM is still $100 / 8GB, a factor of ~4x greater than non-Apple prices. A similar coefficient is true for their SSD storage pricing.

Source: Mac Pro configuration page https://www.apple.com/shop/buy-mac/mac-pro/tower

Re:iPhone 16 could let you shoot in JPEG-XL by eviks on Sunday August 25, 2024 @12:31AM (#41344400)
Yes, under this logic you can't ignore the reality of a large % of users when making sweeping claims about the reality of all users.

Also don't forget the fact that many devices can't be storage-upgraded, so this pushes the actual cost of extra storage even higher

Re:iPhone 16 could let you shoot in JPEG-XL by bobbylarrybobby on Saturday August 24, 2024 @01:24AM (#41335854)
I can't imagine a PNG actually having a good compression ratio for photographic data. Better at that point to just shoot RAW.
Re:iPhone 16 could let you shoot in JPEG-XL by nanidin on Saturday August 24, 2024 @03:21AM (#41336283)
Why not?
Re:iPhone 16 could let you shoot in JPEG-XL by tourmalinetaco on Saturday August 24, 2024 @03:36AM (#41336353)
Because of how PNG compresses images. The high detail will lead to large images, and at that point it’d be easier to save the RAW output of the camera, offload the images, and do any compression later.
Re:iPhone 16 could let you shoot in JPEG-XL by bobbylarrybobby on Saturday August 24, 2024 @09:43AM (#41338263)
Because png compression is optimized for images with few distinct colors and long runs of the same color. Photographs are not like that.
Re:iPhone 16 could let you shoot in JPEG-XL by dchest on Saturday August 24, 2024 @02:35AM (#41336130)
WebP also has a lossless variant, and it compresses much better than PNG.