# image-tool
A simple mass image manipulation commandline tool for resizing and converting format. This tool is specifically designed to for performing conversion on large amount of images with different formats efficienctly.
## installation
Install binary from crates.io:
```
cargo install image-tool
```
Then add `~/.cargo/bin/` to `PATH` to run it anywhere.
## Usage
Currently there are two subcommands: `resize` and `convert`
- `resize`: resize image(s), can be a file or a folder
- `convert`: convert image(s) to a certain format, works with a file or a folder.
### Usage for `resize`
```
USAGE:
image-tool.exe resize [FLAGS] [OPTIONS] --dimension
FLAGS:
-f, --folder Perform resize for all images in a folder
-g, --guess Guess file format based on the first few bytes
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-d, --dimension Specify the output dimension of the file in the form "SIZExSIZE" (eg. "64x64")
-o, --output