Finding channel mean Value
Posted: 2012-05-09T13:23:41-07:00
Hi,
I need to know which channel (c,m,y,k) is used less in an cmyk Image.
If I use
I get the information, but is there a way to get only this value
for automatic controlling with something like
or listed with all channels?
Great would be an output like:
c : 23%
m: 40%
y: 60%
k: 20%
Any Ideas?
Thanks for your help
Roland
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