pub fn storage_bytes(
width: u16,
height: u16,
depth: u8,
bits_per_pixel: Option<BitsPerPixel>,
format: ImageFormat,
scanline_pad: u8,
) -> usizeExpand description
Computes the number of bytes necessary to store the image with the given parameters.