pub fn decode( doc: &Document, stream: &Stream, res: Option<&Dictionary>, fill: [u8; 3], target: Option<(u32, u32)>, cmyk: &mut CmykCache, ) -> Result<DecodedImage, String>
load then rasterize.
load
rasterize