imgcnvrt
is a tiny CLI for doing fast, efficient conversions between image file formats. It is written in Rust and extends functionality from the lovely image
library.
To install imgcnvrt
, first ensure you have a working installation of Rust and cargo, Rust's build system and package manager. Follow the instructions from the Rust book.
Next, run:
sh
cargo install imgcnvrt
imgcnvrt
Once you have imgcnvrt
installed, you can run it like so:
sh
imgcnvrt path/to/my/image.jpg .png
imgcnvrt
takes in two arguments:
.png
, .jpeg
, .webp
, .avif
)imgcnvrt
supports converting from and to all of the file formats handled by its parent library image
. This includes: