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

Flip an image horizontally.

Arguments

  • img - A PhotonImage.

Example

// For example, to flip an image horizontally:
use photon_rs::native::open_image;
use photon_rs::transform::fliph;

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