Re: gm convert file.png -verbose info: does not work
[email protected] Thu, 15 Jan 2009 19:07:17 +0000
| Newsgroups | gmane.comp.video.graphicsmagick.core |
|---|---|
| Message-ID | <011520091907.1419.496F8965000E9E530000058B22058864429F9D02020A0409@comcast.net> |
-------------- 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. 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