[][src]Function photon_rs::effects::solarize

pub fn solarize(photon_image: &mut PhotonImage)

Applies a solarizing effect to an image.

Arguments

  • img - A PhotonImage that contains a view into the image.

Example

// For example, to colorize an image of type `PhotonImage`:
use photon::effects;
photon::effects::solarize(img);