[][src]Function jpegxl_sys::JpegxlDecoderGetBasicInfo

pub unsafe extern "C" fn JpegxlDecoderGetBasicInfo(
    dec: *const JpegxlDecoder,
    info: *mut JpegxlBasicInfo
) -> JpegxlDecoderStatus

Outputs the basic image information, such as image dimensions, bit depth and all other JpegxlBasicInfo fields, if available.

@param dec decoder object @param 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.