fn num_bytes(width: i32, length: i32, channels: usize) -> Option<usize>
Expand description
Calculate how many many bytes a buffer holding a decoded image with these properties would
require. Returns None
if the buffer size would overflow or if one of the sizes are negative.