Struct image_utils::Info
[−]
[src]
pub struct Info { pub format: ImageFormat, pub color: ColorType, pub width: u32, pub height: u32, pub ratio: f32, pub frames: u32, }
Common image information
Fields
format: ImageFormat
Image format
color: ColorType
Image color type
width: u32
Width in pixels
height: u32
Height in pixels
ratio: f32
Aspect ratio
frames: u32
Number of frames, can be greater than 1 for animated GIFs