Bug 234222

Summary: JPEG XL decoder should encoded color profiles
Product: WebKit Reporter: Yoshiaki Jitsukawa <yoshiaki.jitsukawa>
Component: ImagesAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: sabouhallawa, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=233364

Description Yoshiaki Jitsukawa 2021-12-12 17:38:45 PST
According to libjxl's API comment (https://github.com/libjxl/libjxl/blob/5f54e912b155f157232e5a53112a39e38a5b85cc/lib/include/jxl/decode.h#L661)
> In most cases, the image will have an ICC profile available, but
> if it does not, JxlDecoderGetColorAsEncodedProfile must be used instead.
not all JPEG XL images have an ICC profile, so our decoder should cover such a case.
(I haven't seen such an image so far though.)
Comment 1 Radar WebKit Bug Importer 2021-12-19 17:39:15 PST
<rdar://problem/86704327>