WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
244103
[Cocoa] Some AVIF images can't be rendered because their containers formats are HEIF
https://bugs.webkit.org/show_bug.cgi?id=244103
Summary
[Cocoa] Some AVIF images can't be rendered because their containers formats a...
Myles C. Maxfield
Reported
2022-08-18 14:26:27 PDT
From
https://bugs.webkit.org/show_bug.cgi?id=241904#c4
> 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.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-08-18 14:26:59 PDT
<
rdar://problem/98850829
>
Myles C. Maxfield
Comment 2
2022-08-19 14:30:08 PDT
Looks like this is a bug in a system framework. Tracking in <
rdar://problem/98850829
>
Said Abou-Hallawa
Comment 3
2022-08-25 11:21:12 PDT
***
Bug 244324
has been marked as a duplicate of this bug. ***
Said Abou-Hallawa
Comment 4
2022-09-16 15:28:30 PDT
I think we can fix it (for now) by looking at the ftyp box of the HEIF/AVIF files and check the major_brand and the compatible_brands in this box. HEIF/AVIF files start with an ftyp box aligned(8) class GeneralTypeBox(code) extends Box(code) { unsigned int(32) major_brand; unsigned int(32) minor_version; unsigned int(32) compatible_brands[]; // to end of the box }
Said Abou-Hallawa
Comment 5
2022-09-16 15:46:11 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/4434
EWS
Comment 6
2022-09-17 13:02:07 PDT
Committed
254591@main
(08227904ddb6): <
https://commits.webkit.org/254591@main
> Reviewed commits have been landed. Closing PR #4434 and removing active labels.
Said Abou-Hallawa
Comment 7
2022-10-06 13:37:47 PDT
***
Bug 245097
has been marked as a duplicate of this bug. ***
Thierry
Comment 8
2024-12-27 19:02:18 PST
I'm looking at
https://tabpanelwidget.com
in Safari Version 17.6 (19618.3.11.11.5) and all these AVIF images show blank:
https://tabpanelwidget.com/hero-home-page.1afc539c.avif
https://tabpanelwidget.com/hero-home-page@2x.148d84a6.avif
https://tabpanelwidget.com/hero-home-page@3x.1920d4b3.avif
Alexey Proskuryakov
Comment 9
2024-12-29 13:12:03 PST
Thank you for bringing this up. This is a different issue, as these images are not HEIF in disguise. Please file a new bug report. Since these issues are typically in underlying system frameworks, it's best to file it at
https://feedbackassistant.apple.com
for Apple engineers to investigate, and to post the FB number here for tracking.
Thierry
Comment 10
2024-12-29 13:56:02 PST
FB Number: 16194197
https://feedbackassistant.apple.com/feedback/16194197
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug