Photoshop: Add a "unique color" count to the info panel (image analysis)

  • 1
  • Idea
  • Updated 1 week ago
For image analysis and especially color management purposes I would love to see the number of unique colors in an image.
There are third-party filters out there which can do that, but unfortunately they do not work with recent PS versions. Although a filter would be fine I think if this is a native Photoshop feature it should live in Info panel. For best use it should work at least in 8 and 16 Bit, RGB and CMYK documents.

Why this should be a native feature? We don't have direct access to the pixel values via scripting, therefore every scripting workaround would be extremely slow on images with millions of pixels.
Photo of Dominik Sourcé

Dominik Sourcé

  • 28 Posts
  • 4 Reply Likes

Posted 2 weeks ago

  • 1
Photo of Doug S

Doug S

  • 48 Posts
  • 15 Reply Likes
Could be very useful. Should not be hard to do...I have 2 other graphics programs that will create a color palette by sampling all the colors in an image (or selected portion thereof). These are very fast applets and useful to have and have knowledge of the image and use the color knowledge to adjust an image.

So, doing the suggestion above, Adobe could also add a "make color swatches palette from image" too....and UI could have an input as to how many colors to put in the palette (we don't need millions but good to know if they are there; probably extracted from  the filter/pixelate/mosaic...which I use on almost every image to assess color distribution.

The feature would also be useful to compare a .psd image to its saved .jpg to assess how many colors are lost per jpg setting.

I use Lab all the time; so adding Lab color space also useful.