pub fn decode_embedded(data: &[u8], globals: Option<&[u8]>) -> Result<Image>
Decode an embedded JBIG2 image. with the given global segments.
The file is expected to use the embedded organization defined in Annex D.3.