Bug 234222 - JPEG XL decoder should encoded color profiles
Summary: JPEG XL decoder should encoded color profiles
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Images (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-12-12 17:38 PST by Yoshiaki Jitsukawa
Modified: 2021-12-19 17:39 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>