pub fn image_format_minimum_row_bytes(
constraints: &ImageFormatConstraints,
width: u32,
) -> Result<u32, Error>
Expand description
Returns the minimum row bytes for the given constraints and width.
Returns an error if the width is invalid given the constraints, or the constraint pixel format modifier is invalid.