[Webkit-unassigned] [Bug 274420] New: AVIF decoder is weird

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 20 14:58:42 PDT 2024


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

            Bug ID: 274420
           Summary: AVIF decoder is weird
           Product: WebKit
           Version: Safari 17
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Images
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: yann at zikinf.com
                CC: sabouhallawa at apple.com

Created attachment 471454

  --> https://bugs.webkit.org/attachment.cgi?id=471454&action=review

Webkit logo P3 converted to AVIF using Imagemagick

When an AVIF image is opened directly into the browser, the colors are not treated the way they should.
For instance, photos with a P3 ICC profile will be displayed as SDR, but in a webpage, inside an img tag, the colors will be treated correctly.

Sometimes it can get worse. As an example, I attached the webkit logo that was included in a blog post on Webkit.org (https://webkit.org/blog-files/color-gamut/)
This is the HDR version converted with Imagick (installed with Brew, version 7.1.1-32 Q16-HDRI).
It has been converted without any special option (convert xxxx.png xxxx.avif)

If I try to open it by dropping the file into Safari's window, all I get is a blank page (Brave and Firefox display the correct image, same for the Preview app of macOS).
Even in an img tag, Safari can't display this file... except if I drag'n'drop it on the special start page of Safari (to use it as a background image).

-- 
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/20240520/40a24ea6/attachment.htm>


More information about the webkit-unassigned mailing list