[magick-users] identify -verbose color count
Peter Pimley
Peter.Pimley at zoemode.com
Fri Jan 11 06:56:39 PST 2008
Hello IM-ers.
On Imagemagick 6.3.5 (Q16, WinXP), I can do "identify -verbose
my_tga_file.tga", and one line of the output states the number of colors
the image has:
identify my_tga_file.tga | grep Colors:
Colors: 2274
On Imagemagick 6.3.7 (again, Q16, WinXP), the color count is no longer
part of the output. Is this deliberate?
Is there an alternative, but equally easy way of obtaining the number of
colors in am image? I'm only dealing with 32 bit tgas, and these are
quite easy to parse by hand. So it's only a screen's worth of C to do
it myself.
Thanks in advance,
Peter Pimley
__________________________________________________________________________________________________________________________________________
Information contained in this e-mail is intended for the use of the addressee only, and is confidential and may be the subject of Legal Professional Privilege. Any dissemination, distribution, copying or use of this communication without prior permission of the addressee is strictly prohibited.The views of the author may not necessarily constitute the views of Kuju Entertainment Ltd. Nothing in this email shall bind Kuju Entertainment Ltd in any contract or obligation.
The contents of an attachment to this e-mail may contain software viruses which could damage your own computer system. While Kuju Entertainment has taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening the attachment.
Kuju Entertainment Ltd trading as Zoe Mode
Registered Office : 10 Woodside Park, Catteshall Lane, Godalming, Surrey, UK, GU7 1LG. Company Number : 3481384. Company Registered in England.
__________________________________________________________________________________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
_________________________________________________________________________________________________________________________________________
More information about the Magick-users
mailing list