pub fn decode(codestream: &[u8]) -> Result<Image>Expand description
Decode a JPEG 2000 codestream (Annex A, no JP2 wrapper) into a single
integer-component Image.
This is the whole public surface for the GRIB2 use case: the ยง7 data
section of a grid_jpeg message is exactly such a codestream.