commit 291dd50d969f6e0f0d20c89979e89fbe068e9f3f parent c129e16d5f5f4ab578b2d108b2dcb8c7fc160bf3 Author: sin <sin@2f30.org> Date: Thu, 4 Jun 2015 14:09:55 +0100 Add example to README Diffstat:
M | README | | | 11 | ++++++++++- |
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/README b/README @@ -2,4 +2,13 @@ What is it? =========== A simple program to pick out "dominant" colors from PNG files. -It similar to strings(1) but for pictures. +It is similar to strings(1) but for pictures. For a given input[0] +file it outputs a colormap[1] to stdout. + + # ./colors input.png | ./scripts/tohtml.sh > output.html + +Running the tool multiple times will produce slightly different +colormaps. + +[0] http://saturn.2f30.org/colors/input.png +[1] http://saturn.2f30.org/colors/output.html