[][src]Function photon_rs::monochrome::sepia

pub fn sepia(photon_image: &mut PhotonImage)

Convert an image to sepia.

Arguments

  • photon_image - A PhotonImage.

Example

// For example, to tint an image of type `PhotonImage`:
use photon::monochrome;
monochrome::sepia(&mut img);