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

[email protected] Thu, 15 Jan 2009 19:36:35 +0000
Newsgroups gmane.comp.video.graphicsmagick.core
Message-ID <011520091936.14570.496F90430001589D000038EA22007456729F9D02020A0409@comcast.net>
 -------------- Original message ----------------------
From: [email protected]
> 
>  -------------- Original message ----------------------
> From: Bob Friesenhahn <[email protected]>
> > On Thu, 15 Jan 2009, Nguyen Vu Hung wrote:
> > 
> > > Hi,
> > > Anyone has any ideas about this command?Sounds like a bug.
> > > $wget http://www.graphicsmagick.org/images/gm-107x76.png
> > > [vuhung@tmp]$LANG=en_US ~/bin/gm convert gm-107x76.png -verbose 
> > info:gm-107x76.png PNG 104x76+0+0 DirectClass 8-bit 1.5K 0.000u 
> > 0:01gm-107x76.png=> PNG 104x76+0+0 DirectClass 8-bit 1.5K 0.000u 
> > 0:01/home/vuhung/bin/gm convert: No encode delegate for this image format() 
> [No 
> > such file or directory].
> > > [vuhung@teriyaki tmp]$~/bin/gm -versionGraphicsMagick 1.3.3 2008-12-09 Q8 
> > http://www.GraphicsMagick.org/
> > 
> > What causes you to think that this strange syntax should work?
> 
> Your example above seems to be trying to read the input PNG
> file in "INFO:" format, which is incorrect.  Just read the PNG file.

Never mind, your example format looks OK when the info: format
is supported.

> Once you get that right, then ImageMagick 6.4.8 supports it:
> 
> [glennrp@studio ~]$ convert -list format | grep -i info
>      INFO  INFO      -w+   The image format and characteristics
> 
> But ImageMagick-5.4.7, from which GraphicsMagick was forked,
> does not.
> 
> There seems to be no record in ImageMagick's Changelog about
> when the "INFO:" format was added, and I don't remember.  You
> can probably get the same effect by using
> 
>     gm identify -verbose file.png > file.info
> 
> Glenn
> 
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Graphicsmagick-core mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/graphicsmagick-core


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