[−][src]Function purrmitive::imageops::huerotate
pub fn huerotate<I, P, S>(
image: &I,
value: i32
) -> ImageBuffer<P, Vec<S, Global>> where
P: Pixel<Subpixel = S> + 'static,
S: Primitive + 'static,
I: GenericImageView<Pixel = P>,
Hue rotate the supplied image.
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)