#web-api #image #dynamic-image #wasm-bindgen #wasm #interop #browser

web-image

A crate for easy interop between web APIs and DynamicImage from image-rs

6 releases (breaking)

new 0.4.0 Feb 12, 2025
0.3.0 Oct 18, 2024
0.2.1 Jun 5, 2024
0.2.0 May 3, 2024
0.0.0-reserved Apr 28, 2024

#104 in Multimedia

Download history 3/week @ 2024-10-26 4/week @ 2024-12-07 1/week @ 2025-02-01 93/week @ 2025-02-08

94 downloads per month

Apache-2.0

16KB
214 lines

web-image

A Rust library to facilitate easy interop between the Web Image APIs and image-rs crate via web assembly.

Motivation

I wrote this crate for a use case where I needed to read and process images uploaded by the user but do so locally in the browser. The crate facilitates converting web images to Rust's image-rs crate.


lib.rs:

A crate for easy interop between web APIs and DynamicImage from image-rs

Dependencies

~16MB
~260K SLoC