Function nannou::image::imageops::huerotate[][src]

pub fn huerotate<I, P, S>(
    image: &I,
    value: i32
) -> ImageBuffer<P, Vec<S, Global>> where
    I: GenericImageView<Pixel = P>,
    P: 'static + Pixel<Subpixel = S>,
    S: 'static + Primitive
Expand description

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)

See also huerotate_in_place.