Skip to main content

decode_with

Function decode_with 

Source
pub fn decode_with(data: &[u8], options: JxlDecoderOptions) -> Result<JxlImage>
Expand description

Decode a JXL image with custom decoder options.

Same output format as decode (RGBA u8 or GrayAlpha u8), but allows configuring security limits, cancellation, parallel mode, and CMS.