[Webkit-unassigned] [Bug 257110] New: Implement a reliable way to get the image type from a mime type

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 21 22:52:04 PDT 2023


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

            Bug ID: 257110
           Summary: Implement a reliable way to get the image type from a
                    mime type
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Images
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: sabouhallawa at apple.com
                CC: sabouhallawa at apple.com

UTTypeCreatePreferredIdentifierForTag() is used to get the image type from the mime type only on macOS. On iOS, utiFromImageBufferMIMEType() handles only three image formats manually: png, jpeg and gif. On macOS and with user created with "sysadminctl", UTTypeCreatePreferredIdentifierForTag() fails to return valid image type for the mime type "image/png".

-- 
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/20230522/5a698777/attachment.htm>


More information about the webkit-unassigned mailing list