JxlDecoderSetImageOutBitDepth

Function JxlDecoderSetImageOutBitDepth 

Source
pub unsafe extern "C-unwind" fn JxlDecoderSetImageOutBitDepth(
    dec: *mut JxlDecoder,
    bit_depth: *const JxlBitDepth,
) -> JxlDecoderStatus
Expand 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 object
  • bit_depth: the bit depth setting of the pixel output

§Returns