storage_bytes

Function storage_bytes 

Source
pub fn storage_bytes(
    width: u16,
    height: u16,
    depth: u8,
    bits_per_pixel: Option<BitsPerPixel>,
    format: ImageFormat,
    scanline_pad: u8,
) -> usize
Expand description

Computes the number of bytes necessary to store the image with the given parameters.