Hacker News new | ask | show | jobs
by kadoban 1439 days ago
You could, instead of counting pixel-by-pixel, count once per specified color. Eg count #000000 once per css rule it's specified in, once per image it's used in, etc.