pub(crate) fn check_dimension_overflow(
    width: u32,
    height: u32,
    bytes_per_pixel: u8
) -> bool
Expand description

Checks if the provided dimensions would cause an overflow.