[][src]Function photon_rs::conv::emboss

pub fn emboss(photon_image: &mut PhotonImage)

Apply an emboss effect to an image.

Arguments

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

Example

// For example, to apply an emboss effect:
use photon::conv;
photon::conv::emboss(img);