Skip to main content

orientation

Function orientation 

Source
pub fn orientation(data: &[u8]) -> Option<u32>
Expand description

The EXIF orientation (1-8) of a photo file’s main image, read from the same places as read: the TIFF IFDs of TIFF-based RAW files, the EXIF of the JPEG preview inside RAF, the CMT1 block of CR3, the \0TTW TIFF of MRW, the JPEG preview of X3F and the CIFF ImageInfo rotation of CRW.