A memory-safe drop-in replacement for imagemagick. It's also really fast!
Vulnerabilities in image processing are devastating, because image processing is everywhere. The share of memory safety vulnerabilities across all software is 70%, and in image manipulation it is even higher: binary format parsing is notorious for these kinds of vulnerabilities.
It is not a theoretical concern. Every C image parsing library has a history of serious memory safety vulnerabilities. Imagemagick itself has had many more. And they are being exploited in the wild.
Trying to secure massive memory-unsafe codebases is untenable, but migrating to memory safe languages works.
Thanks to Rust, we can now eradicate these vulnerabilities once and for all, without sacrificing performance!
The underlying image format decoders and encoders are very mature. The Rust community has been developing them and using them in production for years. They have been tested on millions of real-world images.
wondermagick itself is still young. We are currently focusing on the convert binary for converting and resizing images, which is the most common workload for imagemagick.
See the [features] section in Cargo.toml for the list of supported image formats, and wm-convert --help for the list of supported operations.
Supporting the libmagick C API is not planned.
You can help by:
wondermagick and the Rust image library.wondermagick relies on.imagemagick commands in wondermagick. See CONTRIBUTING.md for details on code contributions.image for your favourite language. Making drop-in replacements for other memory-unsafe systems. Not the whole world runs on imagemagick.pngcrush, but much faster thanks to multi-threading.wondermagick.This project has benefited from an investment by the Sovereign Tech Agency. 91% of the funds were allocated to image-rs and its image format implementations, enabling its adoption GNOME and Chromium, while 9% of the funds were allocated to wondermagick and the image-rs features it was missing.
1,063 followers · starred Dec 2024
185 followers · starred Apr 2026
311 followers · starred Nov 2025
111 followers · starred Aug 2025
A memory-safe drop-in replacement for imagemagick. It's also really fast!
Vulnerabilities in image processing are devastating, because image processing is everywhere. The share of memory safety vulnerabilities across all software is 70%, and in image manipulation it is even higher: binary format parsing is notorious for these kinds of vulnerabilities.
It is not a theoretical concern. Every C image parsing library has a history of serious memory safety vulnerabilities. Imagemagick itself has had many more. And they are being exploited in the wild.
Trying to secure massive memory-unsafe codebases is untenable, but migrating to memory safe languages works.
Thanks to Rust, we can now eradicate these vulnerabilities once and for all, without sacrificing performance!
The underlying image format decoders and encoders are very mature. The Rust community has been developing them and using them in production for years. They have been tested on millions of real-world images.
wondermagick itself is still young. We are currently focusing on the convert binary for converting and resizing images, which is the most common workload for imagemagick.
See the [features] section in Cargo.toml for the list of supported image formats, and wm-convert --help for the list of supported operations.
Supporting the libmagick C API is not planned.
You can help by:
wondermagick and the Rust image library.wondermagick relies on.imagemagick commands in wondermagick. See CONTRIBUTING.md for details on code contributions.image for your favourite language. Making drop-in replacements for other memory-unsafe systems. Not the whole world runs on imagemagick.pngcrush, but much faster thanks to multi-threading.wondermagick.This project has benefited from an investment by the Sovereign Tech Agency. 91% of the funds were allocated to image-rs and its image format implementations, enabling its adoption GNOME and Chromium, while 9% of the funds were allocated to wondermagick and the image-rs features it was missing.
1,063 followers · starred Dec 2024
185 followers · starred Apr 2026
311 followers · starred Nov 2025
111 followers · starred Aug 2025