pub extern "C" fn __wasm_bindgen_generated_duotone_ochre(
    arg0: <PhotonImage as RefMutFromWasmAbi>::Abi
) -> <() as ReturnWasmAbi>::Abi
Expand description

A duotone ochre tint effect

Arguments

  • img - A PhotonImage.

Example

use photon_rs::filters::duotone_ochre;
use photon_rs::native::open_image;

let mut img = open_image("img.jpg").expect("File should open");
duotone_ochre(&mut img);