Skip to content

Counts the number of pixels of one color in a PNG image encoded in RBG. Preferably with just one IDAT chunk.

License

Notifications You must be signed in to change notification settings

Soikk/pixel-count

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

About

Counts the number of pixels of one color in a PNG image encoded in RBG. Preferably with just one IDAT chunk.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages