Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/c1m50c/image-modifier
Command line tool to simply modify image files with various filters.
https://github.com/c1m50c/image-modifier
binary cli crates-io exectuable image image-manipulation images modifier rust rustlang
Last synced: 29 days ago
JSON representation
Command line tool to simply modify image files with various filters.
- Host: GitHub
- URL: https://github.com/c1m50c/image-modifier
- Owner: c1m50c
- License: mit
- Created: 2022-03-10T20:52:27.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-07-27T22:43:23.000Z (over 2 years ago)
- Last Synced: 2024-10-09T17:30:48.306Z (about 1 month ago)
- Topics: binary, cli, crates-io, exectuable, image, image-manipulation, images, modifier, rust, rustlang
- Language: Rust
- Homepage: https://crates.io/crates/imgmod
- Size: 35.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
- License: LICENSE
Awesome Lists containing this project
README
# **image-modifier**
![Build Status](https://img.shields.io/github/workflow/status/c1m50c/image-modifier/Build?style=for-the-badge)
![Crates.io Version](https://img.shields.io/crates/v/imgmod?color=orange&style=for-the-badge)
![Crates.io License](https://img.shields.io/crates/l/imgmod?style=for-the-badge)
![Lines of Code](https://img.shields.io/tokei/lines/github/c1m50c/image-modifier?style=for-the-badge)
![GitHub Stars](https://img.shields.io/github/stars/c1m50c/image-modifier?color=yellow&style=for-the-badge)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
- gsInvert
Inverses all the colors of the input image.**Valid Modifier Names**
- invert
- inverse
- inv
- iRed
Isolates the colors to only the red channel.**Valid Modifier Names**
- red
- rGreen
Isolates the colors to only the green channel.**Valid Modifier Names**
- green
- gBlue
Isolates the colors to only the blue channel.**Valid Modifier Names**
- blue
- bAlpha
Converts the value of all color channels to the value of their alpha channel within the input image.**Valid Modifier Names**
- alpha
- aBlur
Blurs the image by a fixed amount.**Valid Modifier Names**
- blur