Function imops::clip_low

source ·
pub fn clip_low<IM>(im: IM, low: u8) -> IM
Expand description

Set the minimum value of all pixels in the image to low.

Currently implemented only for MONO8 pixel formats.

Panics: panics if the image data is smaller than stride*height and if stride is smaller than width.