# **image-modifier**





Command line tool to simply modify image files with various filters.
---
## **Installing**
You can directly install the binary exectuable from crates.io with Cargo by running the following command.
```bash
$ cargo install imgmod
```
## **Running**
After installation running is just as easy, run `imgmod` in your command line with the following argument pattern.
```bash
$ imgmod [MODIFIER] [INPUT_IMAGE_PATH] [OUTPUT_IMAGE_PATH]
```
---
## **Modifiers**
Greyscale
Converts the input image into its greyscaled counterpart.
**Valid Modifier Names**
- greyscale
- grayscale
- gs
Invert
Inverses all the colors of the input image.
**Valid Modifier Names**
- invert
- inverse
- inv
- i
Red
Isolates the colors to only the red channel.
**Valid Modifier Names**
- red
- r
Green
Isolates the colors to only the green channel.
**Valid Modifier Names**
- green
- g
Blue
Isolates the colors to only the blue channel.
**Valid Modifier Names**
- blue
- b
Alpha
Converts the value of all color channels to the value of their alpha channel within the input image.
**Valid Modifier Names**
- alpha
- a
Blur
Blurs the image by a fixed amount.
**Valid Modifier Names**
- blur