The system frameworks will be used to render the AVIF images on macOS Ventura and iOS 16.
rdar://95742091
Pull request: https://github.com/WebKit/WebKit/pull/1717
Committed 251850@main (59d774a32243): <https://commits.webkit.org/251850@main> Reviewed commits have been landed. Closing PR #1717 and removing active labels.
I find some avif image in base64 format still can't be render in Safari 16.Here is the image src link https://github.com/kamalendugarai/webp-avif-browsers-support-detection/blob/master/src/index.js#L11 Browser version 18614.1.19.1.5 This happened in both Mac OS 13 and iOS 16.
Created attachment 461723 [details] red-square-avif I extracted the data URL from the linked JS file. I decoded the base64 into a binary file (attached). When opening it in Preview, a red rectangle is displayed but the Inspector tool shows that it is a HEIF image. And we do not support HEIF images in WebKit. There might be a bug in the image frameworks such that they erroneously return public.heif for this image instead of returning public.avif.
Let's migrate this to https://bugs.webkit.org/show_bug.cgi?id=244103.