blob: 1854ed161b5f6202602bab5dc080a636964661e3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
# Pixel count
Counts the number of pixels of one color in a PNG image encoded in RBG.
Preferably with just one IDAT chunk.
Built with
gcc pixel-count.c -lz [-lm]
lm flag is optional, you might or might not need to link the math library
|