Skip to content

Karim-W/comprust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Packages

No packages published

Languages