image::imageops::colorops

Function huerotate_in_place

Source
pub fn huerotate_in_place<I>(image: &mut I, value: i32)
where I: GenericImage,
Expand description

Hue rotate the supplied image in place.

value is the degrees to rotate each pixel by. 0 and 360 do nothing, the rest rotates by the given degree value. just like the css webkit filter hue-rotate(180)

See also huerotate.