Apple Safari 17 beta release notes: JPEG XL support added
developer.apple.com
developer.apple.com
https://bugs.chromium.org/p/chromium/issues/detail?id=117805...
Apple implementing JPEG XL in Safari changes that. Now it's a format with a real chance of being supported across the whole ecosystem.
They same is true to WebP and AVIF?
(AVIF was not supported by all browsers on day 1, obviously, but all the major browsers were governing members of the foundation developing it. So it was much more clear that the backing was there across the ecosystem.)
As I’ve mentioned in other threads, I don’t believe the Chrome team didn’t know Apple was going to implement JPEG XL.
There’s lots of communication between the Chrome and WebKit teams.
It’s going to take more than just Apple shipping JPEG XL to perhaps change Google’s point of view; JPEG XL needs to be seen as a game changer that moves the needle.
This is absolutely ridiculous take given JPEG XL is mainly authored by Google and Cloudinary, with AVIF coming from Netflix & alliance that includes Google.
There is no "competitor" here. Just a format nobody else indicated interest in supporting (notably Apple which forces ~half of mobile marked to have no support, given their browser engine restrictions).
Now that they added the support Chrome can easily bring it back.
2. There has never been another image format that has the level of support or interest as JEPG XL since JPEG becomes the internet standard. And that was before the drama of Chrome dropping support for it.
And web browsers aren't the industry. Adobe added support for it, for example, and it didn't really seem like Google did a good-faith discussion with actual industry players, who range from content creation software to OS makers to other web browsers.
It's also not like there are people lining up to use AVIF right now and Google is still pushing for it.
Wonder what is happening behind closed doors in this squabble…
Unless they were wrong in the first place?
Also, from your link:
"JPEG XL has better lossless compression compared to WebP, which has better lossless compression compared to AVIF for these images."
I would then argue that the superiority of AVIF over JXL is a point of view at best.
They are comparing production encoders of AVIF, JPEG and WEBP with the reference implementation of JPEG XL. If anything, it is amazing to see how fast the reference implementation is. Remember initial AV1 days-per-frame perfomance?
partially \s
I think you misunderstand what the picture element does. Yes, you can put a JXL image into a picture tag, but Chrome still won't render it. You'd still need a backup (lower quality) JPG.
You still have to worry about what image formats the vendors support, and now you have the added burden of making sure you have backups for all your images.
There are lots of reasons why that's annoying to do, but it's a solution.
What I meant was that you only need to care about what image formats you want to support. You don't need to care about what image formats browser vendors support.
Is this true if you provide a polyfill? Have you tried it and it failed? (Serious question.)
You're not doing this manually though, and images encoded for distribution are small. The path to JPEG XL eventually mattering is by JPEG XL alternates being automatically created from a higher-quality source image by your CMS, or at build time, or via services like CloudFlare Images, etc.
Even once Safari 17 (and all iOS browsers via WebKit) makes JPEG XL worth making an alternate for, most sites are realistically 5+ years away from not having to have a JPEG fallback. And if you're doing that, you might as well support the far-more-popular WebP as well.
May be far more compatible. I am not sure if WebP is actually popular.
> “ The HTML <picture> element gives web developers more flexibility in specifying image resources.
> The <picture> element contains one or more <source> elements, each referring to different images through the srcset attribute. This way the browser can choose the image that best fits the current view and/or device.
> Each <source> element has a media attribute that defines when the image is the most suitable.”
If your goal is purely compatibility, then using img with either PNG or JPEG will be just fine.
If however you care about image quality, bandwidth, &c. then you should use picture but... you'll also probably care about what % of your users are getting served whatever image version you consider optimal.
So using picture and stopping caring seem like opposites to me.
Otherwise, 100% agree: use picture.
I am curious if Bing will add support and embarrass Google.
Also, Image decoders are part of the OS on Apple devices so likely all existing apps will support it automatically when iOS updates.