pub unsafe extern "C-unwind" fn JxlDecoderPreviewOutBufferSize(
dec: *const JxlDecoder,
format: *const JxlPixelFormat,
size: *mut usize,
) -> JxlDecoderStatusExpand description
Returns the minimum size in bytes of the preview image output pixel buffer
for the given format. This is the buffer for JxlDecoderSetPreviewOutBuffer.
Requires the preview header information is available in the decoder.
§Parameters
dec: decoder objectformat: format of pixelssize: output value, buffer size in bytes
§Returns
JxlDecoderStatus::Successon successJxlDecoderStatus::Erroron error, such as information not available yet.