2022-06-22 23:07:12 +02:00
2022-06-22 22:59:27 +02:00
2022-06-22 22:59:27 +02:00
2022-06-22 22:38:18 +02:00
2022-06-22 22:59:27 +02:00
2022-06-22 23:07:12 +02:00
2022-06-22 22:59:27 +02:00

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

Resources (in no particular order):

Checked solution with https://townsean.github.io/canvas-pixel-color-counter/

Description
No description provided
Readme 78 KiB
Languages
C 100%