Imagix is a Rust-based image resizing tool designed to efficiently resize images to specified dimensions. It supports both single image and batch resizing, providing flexibility and ease of use.
- Rust
- Image library
- Structopt
- Size Options: Choose from three predefined size options - Small, Medium, and Large.
- Modes: Operate in two modes - Single (resize a single image) and All (resize all images in a folder).
- Supported Formats: Imagix supports JPEG and PNG file formats for resizing.
imagix resize --size <small/medium/large> --mode single --folder <path_to_image>
imagix resize --size <small/medium/large> --mode all --folder <path_to_folder>
Small
: 200x200 pixelsMedium
: 400x400 pixelsLarge
: 800x800 pixels
imagix resize --size small --mode single --folder /path/to/image.jpg
imagix resize --size medium --mode all --folder /path/to/images/
imagecli stats --srcfolder <SRCFOLDER>
To build Imagix, ensure you have Rust installed on your system. Then, run:
cargo build --release
Imagix comes with a test suite to ensure functionality. Run the tests using:
cargo test
The library only outputs JPEG image format
Imagix is licensed under the MIT License.