Skip to main content

is_lossless_jpeg

Function is_lossless_jpeg 

Source
fn is_lossless_jpeg(bytes: &[u8], start: usize, end: usize) -> bool
Expand description

True if the JPEG at bytes[start..end] uses SOF3 (lossless JPEG). RAW files wrap compressed Bayer data in SOF3 containers – these are never renderable and should be skipped by the preview scanner.