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.)
<rdar://problem/86704327>