[Webkit-unassigned] [Bug 245097] WebKit is incorrectly selecting a picture source it does not support

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Sep 14 22:09:55 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=245097

--- Comment #9 from Said Abou-Hallawa <sabouhallawa at apple.com> ---
If you open https://cdn.xeiaso.net/file/christine-static/talks/my-website/001.avif in Preview and you show the inspector for the Tools menu, you will see that the format of this is image is HEIF image.

When calling the function CGImageSourceGetType() for this image, we get "public.heif". Since we are not supporting HEIF right now, WebKit fails to render this image.

I think the reason for returning "public.heif" is this image is a HEIF container which contains an AVIF image. So it is hard to argue CGImageSourceGetType() returns the wrong UTI.

The fix is either to make CGImageSourceGetType() return "public.avif" for this image or to enable HEIF/HEIC in WebKit.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220915/ad3efaa6/attachment.htm>


More information about the webkit-unassigned mailing list