Live data from Hacker News

iPhone 16 could let you shoot in JPEG-XL

idownloadblog.com

21–30 of 65 posts

Re: iPhone 16 could let you shoot in JPEG-XL

#21

The JPEG-XL test page (linked in the article), works well. https://jpegxl.info/test-page/ At the bottom of the page it has animation demonstration, that doesn’t appear to work on my iPhone 13 Pro. Does JPEG-XL really include animation support?

Works on my iPhone 15 Pro

iOS 17.6.1

Re: iPhone 16 could let you shoot in JPEG-XL

#22

I want a phone that lets you shoot PNG

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.

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

Nit: DCT-based

Re: iPhone 16 could let you shoot in JPEG-XL

#23

I want a return to an enforced norm of different extensions for lossy and lossless files. With the adoption of WebP, I've repeatedly encountered shady CDNs substituting in lossy .webp files in place of lossless .png files, in a way you can't tell by the filetype alone when saving a file (whereas you could tell when saving a .png URL but get a .jpg file instead). I fear the same will happen with .jxl files.

I voiced the exact same thing for many years and unfortunately the author of jxl doesn't agree with that. I wish the same as well we could just tell by file type.

Re: iPhone 16 could let you shoot in JPEG-XL

#24

I want a phone that lets you shoot PNG

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 ...

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

#25

Earlier quoted context omitted.

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 ...

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.

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

#26

The JPEG-XL test page (linked in the article), works well. https://jpegxl.info/test-page/ At the bottom of the page it has animation demonstration, that doesn’t appear to work on my iPhone 13 Pro. Does JPEG-XL really include animation support?

All blank in Firefox :(

Re: iPhone 16 could let you shoot in JPEG-XL

#27
post #19

is JPEG-XL really an upgrade over HEIC?

For images at low bit per pixel, HEIC is actually quite a bit better than JPEG-XL current encoder. I wouldn't say really an upgrade technically speaking, I would put them on same level with XL have some additional interesting feature. But considering getting HEIC included in other system seems to be difficult due to patents or other reasons. JPEG-XL seems to be the best middle ground in everything. I am still hoping…

JXL is better than HEIC at high qualities though, which is probably how you want to save the output from your camera.

Re: iPhone 16 could let you shoot in JPEG-XL

#28

The JPEG-XL test page (linked in the article), works well. https://jpegxl.info/test-page/ At the bottom of the page it has animation demonstration, that doesn’t appear to work on my iPhone 13 Pro. Does JPEG-XL really include animation support?

macOS 14 / Safari 17.6 shows static pics, but no animation.

Honestly, I wish all animated image formats would just die. They are an inefficient way to animate images, because they only use intra frames. H.264, H.265 or AV1 should be used for animations. Fortunately, Safari can display video files in or CSS images, which makes all animated image formats unnecessary.

Re: iPhone 16 could let you shoot in JPEG-XL

#29

I want a return to an enforced norm of different extensions for lossy and lossless files. With the adoption of WebP, I've repeatedly encountered shady CDNs substituting in lossy .webp files in place of lossless .png files, in a way you can't tell by the filetype alone when saving a file (whereas you could tell when saving a .png URL but get a .jpg file instead). I fear the same will happen with .jxl files.

The lossy vs lossless distinction loses its meaning in the absence of provenance. You can compress a bitmap into a .jpg q=1, and then save it as a .png. The .png is technically lossless, but that clearly doesn't tell much about the image quality. Conversely, many cameras shoot JPEG as the source format. The .jpg is, in effect, the master copy from which the loss is measured (obviously there are losses from the sensor data, but still).

Re: iPhone 16 could let you shoot in JPEG-XL

#30

Earlier quoted context omitted.

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 ...

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.

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.

Post reply on HN