Struct png::OutputInfo
[−]
[src]
pub struct OutputInfo {
pub width: u32,
pub height: u32,
pub color_type: ColorType,
pub bit_depth: BitDepth,
pub line_size: usize,
}Output info
Fields
width | |
height | |
color_type | |
bit_depth | |
line_size |
Methods
impl OutputInfo
fn buffer_size(&self) -> usize
Returns the size needed to hold a decoded frame