Skip to main content

decode_embedded

Function decode_embedded 

Source
pub fn decode_embedded(data: &[u8], globals: Option<&[u8]>) -> Result<Image>
Expand description

Decode an embedded JBIG2 image. with the given global segments.

The file is expected to use the embedded organization defined in Annex D.3.