pub struct MoshData {
pub buf: Vec<u8>,
pub image: Vec<u8>,
pub width: u32,
pub height: u32,
pub color_type: ColorType,
pub bit_depth: BitDepth,
pub line_size: usize,
}Expand description
Image data.
It holds the original image, buffer and parameters.
Fields§
§buf: Vec<u8>Buffer.
image: Vec<u8>Original image.
width: u32Width.
height: u32Height.
color_type: ColorTypeColor type.
bit_depth: BitDepthBit depth.
line_size: usizeLine size.