colors

extract colors from pictures
git clone git://git.2f30.org/colors.git
Log | Files | Refs | README | LICENSE

README (338B)


1
2
3
4
5
6
7
8
9
10
11
12
What is it?
===========

A simple program to extract colors from PNG files.  It is similar to
strings(1) but for pictures.  For a given input[0] file it outputs a
colormap[1] to stdout.

    # ./colors -p input.png | ./bin/hex2html > output.html


[0] http://saturn.2f30.org/colors/input.png
[1] http://saturn.2f30.org/colors/output.html