Just discovered via Stack Overflow (http://stackoverflow.com/questions/1995 ... magemagick) that you can use
identify -format %k <filename>
Search found 1 match
- 2016-11-15T22:28:11-07:00
- Forum: Users
- Topic: How to find the number of unique colors in an image?
- Replies: 7
- Views: 27357