[−][src]Function jpegxl_sys::JpegxlDecoderGetPreviewHeader
pub unsafe extern "C" fn JpegxlDecoderGetPreviewHeader(
dec: *const JpegxlDecoder,
preview_header: *mut JpegxlPreviewHeader
) -> JpegxlDecoderStatus
Outputs the preview header, if available.
@param dec decoder object @param preview_header 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.