I need to know which channel (c,m,y,k) is used less in an cmyk Image.
If I use
Code: Select all
identify -verbose pic.tif
I get the information, but is there a way to get only this value
for automatic controlling with something like
Code: Select all
identify -format %[mean usage of channel "c"]
Great would be an output like:
c : 23%
m: 40%
y: 60%
k: 20%
Any Ideas?
Thanks for your help
Roland