diff options
author | jvech <jmvalenciae@unal.edu.co> | 2023-06-22 08:06:52 -0500 |
---|---|---|
committer | jvech <jmvalenciae@unal.edu.co> | 2023-06-22 08:06:52 -0500 |
commit | e2fc6fcd524bbd3762ab57155bd515ce690adf51 (patch) | |
tree | dd0f3fd2d6ac5ea92a0c8b7606362a30e8cc04ee /README.md | |
parent | 290aa13ddd8d05bde86f14a82cd76c18b4b8f082 (diff) |
doc: help message and README added
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..4a2bdab --- /dev/null +++ b/README.md @@ -0,0 +1,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 +``` |