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

Solarization on the Red and Blue channels.

Arguments

  • img - A PhotonImage.

Example

use photon_rs::filters::ryo;
use photon_rs::native::open_image;

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