Skip to main content

clip_low

Function 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 on image shape or stride problems.