Manipulate image with WASM

Hello !

I write a game which is build for desktop and WASM. I need to manipulate images by loading them from images bytes, then crop and overlay them.

To do it, I use the image crate. It is working nice with desktop compiled version. But, with WASM compiled version, image crate seems to require wasm-bindgem and my macroquad game based lib is not compatible with wasm-bindgem (related to this issue).

So, my question is : Do you know a crate or a way to simply crop and overlay images from bytes in pure Rust way ? My goal is to not have to worry about desktop or wasm environment.