Function photon_rs::transform::__wasm_bindgen_generated_resize
source · pub extern "C" fn __wasm_bindgen_generated_resize(
arg0: <PhotonImage as RefFromWasmAbi>::Abi,
arg1: <u32 as FromWasmAbi>::Abi,
arg2: <u32 as FromWasmAbi>::Abi,
arg3: <SamplingFilter as FromWasmAbi>::Abi
) -> <PhotonImage as ReturnWasmAbi>::Abi
Expand description
Resize an image.
Arguments
img
- A PhotonImage.width
- New width.height
- New height.sampling_filter
- Nearest = 1, Triangle = 2, CatmullRom = 3, Gaussian = 4, Lanczos3 = 5