[magick-users] Number of colors (identify -verbose)
Anthony Thyssen
anthony at griffith.edu.au
Sun Nov 4 18:17:02 PST 2007
Al Bogner on wrote...
| I changed from Suse 10.2 to Suse 10.3, which changed the IM version too from
|
| Suse 10.2
| identify -version
| Version: ImageMagick 6.3.0 10/12/07 Q16
|
| Suse 10.3
| identify -version
| Version: ImageMagick 6.3.5 09/25/07 Q16
|
| Suse 10.2
| identify -verboset test.jpg | grep "Colors:"
| Colors: 373602
|
| Suse 10.3
| no result
|
| Was the number of colors removed or did Suse something wrong?
|
Errr.. try removing the 't' from "-verboset"
And you are right 'Colors:' appears missing.
But you can get them using
identify -format %k test.jpg
NOTE: the number of colors in a JPEG image is actually rather usless as
a jpeg does not store 'colors' but foruier waves. That is the actual
color is generated whenever the image is read, often resulting in a
unique color for each and every pixel.
Anthony Thyssen ( System Programmer ) <A.Thyssen at griffith.edu.au>
-----------------------------------------------------------------------------
Machines cannot be liked or disliked; they are immune to emotion.
We can use them or misuse them, so the problem of machines is a human
problem like all others. -- Stainless Steel Rat (Saves the World)
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
More information about the Magick-users
mailing list