Hi!

On Sun, Dec 14, 2008 at 1:27 AM,  <[email protected]> wrote:
> Gentlemen, I have discovered that nowhere in the identify -verbose
> output is a tally kept of these items (separate colors, I believe):
> $ identify -verbose bla.png|grep ') #'|head -2
>     11390: (  0,  0,  0,255) #00000000 none
>       152: (102,  0,204,  0) #6600CC rgb(102,0,204)
>
> If one wants to know how many there are, one must count them oneself:
> $ identify -verbose bla.png|grep -c ') #'
> 106

Try:

identify -format %k file.png

Is it what you are needing?

Thank you!

Best regards,
Nelson



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to