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

Flip an image vertically.

Arguments

  • img - A PhotonImage.

Example

// For example, to flip an image vertically:
use photon_rs::native::open_image;
use photon_rs::transform::flipv;

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