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

Apply a standard laplace convolution.

Arguments

  • img - A PhotonImage.

Example

// For example, to apply a laplace effect:
use photon_rs::conv::laplace;
use photon_rs::native::open_image;

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