pub fn dimensions(data: &[u8]) -> Option<(u32, u32)>
Read only the dimensions of a JPEG (SOFn scan), without decoding.