Hacker News new | past | comments | ask | show | jobs | submit login

Oddly, Safari Tech Preview on Ventura advertises support for JXL but the images don't actually render. So the linked page has almost no images, just broken placeholders.



The image formats (at least newer ones) in Safari defer to OS support, so you'll need Sonoma to view JXL in Safari.


Then you'd think STP wouldn't offer support for JXL. But it does, both to the site itself and in the release notes.


The images shown to me are .avif (Firefox and Chrome on Windows)


The header image I see is indeed an AVIF but it depends on what your browser sends in the `Accept` header. Chrome sends image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8 but if you drop image/avif from there you get a webp and if also drop image/webp from the header you finally end up with a jpeg.

However if you manually request that image with a custom `image/jxl` at the start of the `Accept:` header, you get a JPEG XL result. So GP is correct, but you won't see that behavior except on their PC (errr, Mac) -- unless you use Firefox and enable JPEGXL support in about:config, of course.


The STP request includes jxl.

image/webp,image/avif,image/jxl,image/heic,image/heic-sequence,video/;q=0.8,image/png,image/svg+xml,image/;q=0.8,/;q=0.5


Yeah, I was explaining how you could reproduce those results without being on the Safari preview.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: