/filter-magic

A simple little CLI tool to apply a few different filters to images.

Primary LanguageC++MIT LicenseMIT

Filter Magic

Filter Magic is a small CLI tool to apply different filters to images. It is written in C++ using the OpenCV library.

Usage

The general usage is filter-magic <file> [options] where [options] is a list of filters to apply to the image.
Example:

# Apply a sepia filter and scale the image by two in width and height.
$ filter-magic input.png sepia scale 2,2

As of now, the supported filters are:

  • grey/greyscale
  • sepia
  • rotate <degrees>
  • scale <width>,<height>

You can also add output <file> anywhere int the options to change the output file.