This is CLI tool inspired by squoosh!
Rimage currently supports two codecs, mozjpeg and oxipng, and aims to add support for AVIF and WebP in the future.
If you have cargo you can use this
cargo install rimage
or from Releases on GitHub
rimage -q 75 *.jpg
-q 0
through -q 100
, higher is better-o png
, currently supported only jpg, png and oxipng-s _updated
, adds suffix in file name ("input.jpg" -> "input_updated.jpg")-i
, flag used to get info about images (size and data length)If you are interested in contributing to the development of Rimage, you can get started by cloning the repository using Git or GitHub Desktop, followed by running cargo build
.
Once you have created your branch and it builds successfully, you can make a pull request.
Im new to GitHub and Rust so any help would be greatly appreciated! 🤘
Rimage is licensed under either the Apache License 2.0, or the MIT license.
All images maded by me or taken from Unsplash