imgmod

Crates.ioimgmod
lib.rsimgmod
version1.2.1
sourcesrc
created_at2022-03-10 21:52:45.626279
updated_at2022-03-10 23:02:34.947751
descriptionCommand line tool to simply modify image files with various filters.
homepage
repositoryhttps://github.com/c1m50c/image-modifier
max_upload_size
id547889
size29,229
Pere Wells (c1m50c)

documentation

README

image-modifier

Build Status Crates.io Version Crates.io License Lines of Code GitHub Stars

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.

$ cargo install imgmod

Running

After installation running is just as easy, run imgmod in your command line with the following argument pattern.

$ 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
Commit count: 9

cargo fmt