Skip to main content
JohnVo
Inspiring
May 3, 2017
Question

is there a way to count the unique colors in an entire image ?

  • May 3, 2017
  • 3 replies
  • 14204 views

hi

is there a way to count the unique colors in an entire image like a photo?

i know there is a plugin Color Counter Photoshop Stuff

but it doesn't work correctly under ps cc 2017 & 2015 and it can't read 16bit color images

i run w10 pro and there is irfanview that can do it , but i would like to do with photoshop

thanks

This topic has been closed for replies.

3 replies

Jeff Arola
Community Expert
Community Expert
May 3, 2017
JohnVo
JohnVoAuthor
Inspiring
May 4, 2017

hi

thanks does it work on 2017 to you?

Jeff Arola
Community Expert
Community Expert
May 4, 2017

Yes the Count Colors filter works here in photoshop cc 2017.1.1 running on a x64 windows 10.

http://telegraphics.com.au/sw/product/CountColours

The other color counter filter linked in your top post is 32 bits and if you running a 64 bit version of windows 10, then photoshop 2017 needs 64 bit filters.

D Fosse
Community Expert
Community Expert
May 3, 2017

it can't read 16bit color images

Good luck counting colors in a 16-bit image...

Inspiring
May 3, 2017

If there are less than 256, choosing image>mode>indexed color... will give you a count.

JohnVo
JohnVoAuthor
Inspiring
May 3, 2017

hi

no sadly they are more ,in this case there is no way?

thanks

c.pfaffenbichler
Community Expert
Community Expert
May 3, 2017

What exactly are you trying to evaluate and to what good?

A Scripting solution is theoretically possible but if I remember correctly it would be impractically inefficient for all but extremely small images.