[−][src]Function jpegxl_sys::JpegxlDecoderGetColorEncoding
pub unsafe extern "C" fn JpegxlDecoderGetColorEncoding(
dec: *const JpegxlDecoder,
color_encoding: *mut JpegxlColorEncoding
) -> JpegxlDecoderStatus
Outputs the color profile information, if available. Only may be used if JpegxlColorProfileSource.color_encoding_valid.
@param dec decoder object @param color_encoding 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.