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

web-image

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

5 releases (3 breaking)

new 0.3.0 Oct 18, 2024
0.2.1 Jun 5, 2024
0.2.0 May 3, 2024
0.1.0 Apr 28, 2024
0.0.0-reserved Apr 28, 2024

#148 in Multimedia

Download history 12/week @ 2024-07-01 48/week @ 2024-07-29 21/week @ 2024-09-02 3/week @ 2024-09-23 23/week @ 2024-09-30 114/week @ 2024-10-14

140 downloads per month

Apache-2.0

15KB
212 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
~261K SLoC