Skip to main content

stated_sizes

Function stated_sizes 

Source
pub fn stated_sizes(data: &[u8]) -> Vec<(u32, u32)>
Expand description

The pixel sizes a photo file states for itself: every width and height pair (PixelXDimension/PixelYDimension in the EXIF IFD, ImageWidth/ ImageLength in any IFD the reader walks), as stored, unturned. Thumbnail IFDs are in the list too, so callers pick by size.