/comprust

Image Compressor CLI tool

Primary LanguageRustBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

comprust

Image Compressor CLI tool.

Usage

comprust <SOURCE> <DESTINATION> <QUALITY> <SIZE>
Argument Description
SOURCE Path to the image to compress OR a directory containing images to compress.
DESTINATION Path to the directory where the compressed images will be saved.
QUALITY Quality of the compressed images. Must be between 0.0 and 100.0
SIZE Size of the compressed images. Must be between 0.0 and 1.0

Example

comprust ./images ./compressed 80.0 0.5

Installation

cargo install https://github.com/karim-w/comprust

License

BSD-3-Clause

Author

Karim W

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.