aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 4a2bdab7eef2c3700149320f6a47acb281558a9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Dsco

A simple ppm image processor, that use convolution to transform images

## Usage

If `INPUT` is not specified the program will use standard input.

```
Usage:
    dsco [INPUT] -f [edge|blur|sharpen] [-o OUTPUT]

Options:
    -o      output file [default: /dev/stdout] 
    -f      filter to use

            edge:       -1 -1 -1
                        -1  8 -1
                        -1 -1 -1

            sharpen:     0 -1  0
                        -1  5 -1
                         0 -1  0

            blur:        1  2  1
                   1/16  2  4  2
                         1  2  1
```
Feel free to download, copy and edit any repo