shithub: ifilter

ref: d6b3a92f9317c5c2fd1b38f8332225005a212eb0
dir: /README/

View raw version
ifilter
=======
Basic image filters.

Filters read an image from standard input, apply a transformation
and dumps the resulting image to standard output.

cfilter:
--------
cfilter implements basic color filters.

Usage: image/cfilter -f grayscale|sepia|invert|shade|tint [-r ratio]

Available filters are:
- grayscale
- sepia
- invert
- shade(1)
- tint(1)

1: these filters use the ratio argument to determine the transformation ratio.

blur:
-----
blur implements blurring algorithms.

Usage: image/blur -f box|gaussian [-s size]

Available filters are:
- box: 3x3 box blur
- gaussian: Gaussian blur using `-s` as the convolution kernel radius (ie kernel will be a matrix r*r with r=2*s+1)

pixelate:
---------
pixelate implements a pixelation algorithm.

Usage: image/pixelate [-s size]
size is the output pixel size (defaults to 8)

dither:
-------
Floyd-Steinberg dithering algorithm.

Usage: image/dither


--
Author: phil9
License: MIT