Skip to main content

decode

Function decode 

Source
pub fn decode(data: &[u8]) -> Result<Image>
Expand description

Decode a JBIG2 file from the given data.

The file is expected to use the sequential or random-access organization, as defined in Annex D.1 and D.2.