Skip to main content

jpeg_decode

Function jpeg_decode 

Source
pub fn jpeg_decode(data: &[u8]) -> Result<JpegImage, ErrorsJSL>
Expand description

Decodes a baseline JPEG byte stream into an interleaved 8-bit image (grayscale stays 1 channel; three-component YCbCr files become RGB).