[][src]Function jpegxl_sys::JpegxlDecoderGetColorProfileSource

pub unsafe extern "C" fn JpegxlDecoderGetColorProfileSource(
    dec: *const JpegxlDecoder,
    color_info: *mut JpegxlColorProfileSource
) -> JpegxlDecoderStatus

Outputs the color information, if available. The color info tells whether JpegxlDecoderGetColorEncoding and/or JpegxlDecoderGetICCProfile should be used to get the correct image color profile.

@param dec decoder object @param color_info struct to copy the information into, or NULL to only check whether the information is available through the return value. @return JPEGXL_DEC_SUCCESS if the value is available, JPEGXL_DEC_NEED_MORE_INPUT if not yet available, JPEGXL_DEC_ERROR in case of other error conditions.