News for hackers. Stuff that matters.
Re:iPhone 16 could let you shoot in JPEG-XL by AdamJacobMuller on Friday August 23, 2024 @10:58PM (#41335179)
is JPEG-XL really an upgrade over HEIC?
Re:iPhone 16 could let you shoot in JPEG-XL by ianburrell on Friday August 23, 2024 @11:35PM (#41335357)
In addition to the compression, JPEG-XL has some nice features that make it better image format. It also does lossless compression. It does color spaces.

One cool feature is that can losslessly convert JPEG into JPEG-XL. And back to JPEG. I can't tell if this applies to all or only converted ones, but it might make good source format and convert to JPEG on export.

Re:iPhone 16 could let you shoot in JPEG-XL by duskwuff on Saturday August 24, 2024 @12:02AM (#41335512)
> I can't tell if this applies to all or only converted ones

JPEG-XL to JPEG is only lossless for JPEG-XL images which were upgraded from JPEG.

Not all JPEG-XL images can even be represented as JPEG; in particular, images with more than three channels (like images with transparency, or images with CMYK color) or with multiple frames (like an animation) certainly can't.

Re:iPhone 16 could let you shoot in JPEG-XL by eviks on Saturday August 24, 2024 @03:20AM (#41336282)
What about those that can be represented? Is it possible to convert lpsslessly by losing some compression efficiency or still only upgraded can be downgraded?
Re:iPhone 16 could let you shoot in JPEG-XL by pornel on Saturday August 24, 2024 @07:52AM (#41337487)
JPEG XL has many compression modes inside, and the lossless JPEG roundtrip works only for one of them that was specifically designed to hold old JPEG's data. You can't take an arbitrary JXL file and turn it into a JPEG without lossy recompression.

The old-JPEG-preserving compression mode also isn't the best that JXL can do. It's better than the old JPEG, but not as good as JXL using all the new bells and whistles.

Re:iPhone 16 could let you shoot in JPEG-XL by pizza on Friday August 23, 2024 @11:45PM (#41335422)
It applies to all JPEGs.
Re:iPhone 16 could let you shoot in JPEG-XL by cornstalks on Friday August 23, 2024 @11:16PM (#41335264)
Yes, not being HEVC is a huge plus given HEVC’s patent drama/prices

And quality wise, JPEG XL is definitely better

Re:iPhone 16 could let you shoot in JPEG-XL by jerryX on Friday August 23, 2024 @11:40PM (#41335393)
HEIC is paid, inferior, unpopular ... while JPEG XL is finally the long term replacement of ~30 year old JPEG.
Re:iPhone 16 could let you shoot in JPEG-XL by paulryanrogers on Saturday August 24, 2024 @09:14AM (#41338062)
Doubtful JPG will ever be replaced. It hits a sweet spot between implementation simplicity, (adjustable) visual fidelity, and ubiquity.

Even gifs persist because of they're grandfathered into auto play, despite being worse in every way than alternatives.

Re:iPhone 16 could let you shoot in JPEG-XL by MBCook on Friday August 23, 2024 @11:06PM (#41335208)
Section in the article: “The iPhone 16 family could let you shoot in JPEG-XL”

I’m with you. No normal person is waiting for this. Are any techies? Like maybe 2?

The article says the JPEG would be a third the size they are now. OK. That’s nice.

But only 12.5% of Internet users can seem ‘em. All of ‘em Apple users.

https://caniuse.com/?search=jpeg-xl

So what’s the point? Just use HEIC. It’s supported by the exact same browsers. All Safari and nothing else.

This seems like a really sketchy rumor to me.

Re:iPhone 16 could let you shoot in JPEG-XL by somethingsidont on Friday August 23, 2024 @11:33PM (#41335350)
> But only 12.5% of Internet users can seem ‘em. All of ‘em Apple users.

That's a positive for Apple. "Why can't I view the new family pics?" "Oh mom you need to get an iPhone for that"

Re:iPhone 16 could let you shoot in JPEG-XL by eviks on Saturday August 24, 2024 @03:28AM (#41336320)
You forgot that that 12.5% could change "overnight" if Google change their hostile stance, and adding it as a default in a very popular phone increases the chances of that happening, so add a few zeroes to that 2
Re:iPhone 16 could let you shoot in JPEG-XL by viraptor on Saturday August 24, 2024 @12:42PM (#41339459)
> The article says the JPEG would be a third the size they are now. OK. That’s nice.

That's also significant $$$ when you're serving petabytes of image traffic every month. Even if it's limited to iOS.

Re:iPhone 16 could let you shoot in JPEG-XL by aidenn0 on Friday August 23, 2024 @11:14PM (#41335253)
Yes.
Re:iPhone 16 could let you shoot in JPEG-XL by modeless on Saturday August 24, 2024 @12:33AM (#41335662)
Yes, the progressive rendering is really cool, lossless mode is better, lossless recompression of JPEGs is a cool feature, it's faster, it supports larger images (without tiling) with more channels and higher bit depths.
Re:iPhone 16 could let you shoot in JPEG-XL by ksec on Saturday August 24, 2024 @01:05AM (#41335795)
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 there could be additional work on JXL in terms of low bit per pixel improvement and encoding / decoding resource usage. Especially in the lossless front.

Re:iPhone 16 could let you shoot in JPEG-XL by eviks on Saturday August 24, 2024 @03:23AM (#41336295)
From various reviews I've seen, HEIC is not better, it looks "nicer" by losing fidelity for some type of picture
Re:iPhone 16 could let you shoot in JPEG-XL by aidenn0 on Saturday August 24, 2024 @01:30AM (#41335878)
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 by Pikamander2 on Saturday August 24, 2024 @03:53AM (#41336427)
Compared to the stark differences between BMP/JPG/PNG/GIF, there's a ton of overlap between WEBP/HEIC/AVIF/JPEGXL.

Naturally, some types of images tend to compress better with some formats than others, and then you may have to take into account things like the desired quality level, encoding time, etc.

https://cloudinary.com/blog/time_for_next_gen_codecs_to_deth...

Realistically, any of those four new formats would be fine for 99% of the images that exist, but it would still be nice for every browser to support them all so that web developers can choose their favorite format.

Although, on the flip side, the drawback of having so many formats floating around is that software developers have to spend more time supporting it all. Even trillion dollar companies like Microsoft are seemingly in no rush to make sure that formats like WebP are as well integrated into their software as JPG/PNG were.

Re:iPhone 16 could let you shoot in JPEG-XL by sunflowerfly on Sunday August 25, 2024 @10:33AM (#41347575)
HEIC was designed for motion pictures where smoothing at the cost of detail is acceptable. From an image detail standpoint, yes.