We build for downlevels with USE(JPEGXL) but not USE(LCMS). We should port the existing color conversion code to use Core Graphics. The way to do this is: 1. tryDecodeICCColorProfile() can use CGColorSpaceCreateWithICCData() with a CFData 2. Create a CGColorConversionInfo from the source and destination color space 3. Use vImageConverter_CreateWithCGColorConversionInfo() to create a converter 4. vImageConvert_AnyToAny() We might need a custom refptr for the vImageConverter. We can probably do this with custom RefPtr traits, like I did in 264884@main
<rdar://problem/111012276>
*** Bug 258285 has been marked as a duplicate of this bug. ***
Pull request: https://github.com/WebKit/WebKit/pull/15098
Committed 265440@main (19b823079b6d): <https://commits.webkit.org/265440@main> Reviewed commits have been landed. Closing PR #15098 and removing active labels.