Re: gm convert file.png -verbose info: does not work

Bob Friesenhahn <[email protected]> Thu, 15 Jan 2009 22:43:54 -0600 (CST)
Newsgroups gmane.comp.video.graphicsmagick.core
Message-ID <[email protected]>
On Fri, 16 Jan 2009, Nguyen Vu Hung wrote:

> You are right: there will be no "histogram" unless the image already contains acolormap
> Btw, can I sort the histogram by the frequency of how many times eachcolor is used?

If you use a Unix system (like they used in Jurrasic Park), then you 
can just pipe the output through the 'sort' utility.  Otherwise you 
can find a sort utility for Windows if it does not already have one 
(seems like Windows comes with one).

The histogram is currently sorted in order of increasing intensity.

Bob
======================================
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword