wasm_resize_rgba 0.7.0

esm modules for image resizing using the CatmullRom (hq) or Hamming methods, with sync and async (worker) versions
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
![crates.io](https://img.shields.io/crates/v/wasm_resize_rgba.svg)

[WASM](https://developer.mozilla.org/en-US/docs/WebAssembly) libs for resizing an rgba ImageData.

This is a based on a fork of the [fast_image_resize](https://github.com/Cykooz/fast_image_resize) [rust](https://www.rust-lang.org/) [crate](https://crates.io/crates/fast_image_resize).

<br>

Compilation:

`cargo build --release`

Wasm file optimization:

`wasm-opt --dce --vacuum -Os target/wasm32-unknown-unknown/release/wasm_avif.wasm -o avif.wasm`

<br>