pub unsafe extern "C-unwind" fn JxlDecoderSetImageOutBitDepth(
dec: *mut JxlDecoder,
bit_depth: *const JxlBitDepth,
) -> JxlDecoderStatusExpand description
Sets the bit depth of the output buffer or callback.
Can be called after JxlDecoderSetImageOutBuffer or
JxlDecoderSetImageOutCallback. For float pixel data types, only the default
JxlBitDepthType::FromPixelFormat setting is supported.
§Parameters
dec: decoder objectbit_depth: the bit depth setting of the pixel output
§Returns
JxlDecoderStatus::Successon success,JxlDecoderStatus::Erroron error, such as incompatible custom bit depth and pixel data type.