pub struct ImageInfo {
pub orientation: Option<u16>,
pub bit_depth: u8,
pub black_levels: Vec<u32>,
pub white_level: Option<u32>,
pub default_crop_origin: Option<(u32, u32)>,
pub default_crop_size: Option<(u32, u32)>,
}Expand description
Image-level metadata.
Fields§
§orientation: Option<u16>EXIF orientation (1-8)
bit_depth: u8Bits per sample
black_levels: Vec<u32>Black level per channel
white_level: Option<u32>White/saturation level
default_crop_origin: Option<(u32, u32)>Default crop origin (x, y)
default_crop_size: Option<(u32, u32)>Default crop size (width, height)
Trait Implementations§
impl StructuralPartialEq for ImageInfo
Auto Trait Implementations§
impl Freeze for ImageInfo
impl RefUnwindSafe for ImageInfo
impl Send for ImageInfo
impl Sync for ImageInfo
impl Unpin for ImageInfo
impl UnsafeUnpin for ImageInfo
impl UnwindSafe for ImageInfo
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more