jimp-dev/jimp

Plugin Idea: ImageMagick Manipulation via WASM

Open

#735 opened on May 14, 2019

View on GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (13,218 stars) (785 forks)batch import
WASMenhancementhelp wanted

Description

I'm sorry for the span, but some time ago I was plying and contributing on https://github.com/KnicKnic/WASM-ImageMagick that's an ImageMagick port to JavaScript using emscripten. It has almost all IM capabilities and support a lot of image formats. As you might know IM implements lots of transformations which implementations were optimized and refined over the years.. The total bundle size of https://github.com/KnicKnic/WASM-ImageMagick is no greater than 5mb, what it could be a limitation, perhaps is speed and memory consumption when applying complex transformations on big images. (although I didn't tried jimp yet to compare).

Nevertheless, I just wanted to bring this up to you in case you didn't knew the project, perhaps you can reuse or integrate something from there. Think about transformations that will be very expensive to re-implement (and optimize) from scratch and image format support (see big list of supported formats below).

There are some toy-apps I made some time ago, unfortunately I didn't had the time to resume the research, cheers! and keep it up!

Perhaps it could be used as a separate library/project with an easy to use API just to read/write files ? or for particular operations ?.. should be fun to research! :) thanks

Contributor guide