#image #image-processing #cli #command-line-tool #image-modification

app imgmod

Command line tool to simply modify image files with various filters

4 stable releases

1.2.1 Mar 10, 2022
1.1.0 Mar 10, 2022
1.0.0 Mar 10, 2022

#15 in #images

MIT license

10KB
132 lines

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

Dependencies

~8–16MB
~170K SLoC