Re: problem with identify -format %c

Anton Shterenlikht <[email protected]> Thu, 13 Aug 2009 09:41:55 +0100
Newsgroups gmane.comp.video.image-magick.bugs
Message-ID <[email protected]>
On Wed, Aug 12, 2009 at 02:00:44PM -0700, Neil Katin wrote:
> 
> I'm having a problem with identify -format %c (and %l): it is not properly outputting
> the label or comment.
> 
> I ran this small test:
> 
> convert -comment abcdef logo: png:- | identify -format %c png:-
> 
> On newer versions of imagemagic the command fails (returns a blank line),
> on older versions it works.
> 
> centos 5.3 (6.2.8): works (prints abcdef)
> fedora 10 (6.5.1-2) fails (blank line)
> gentoo 6.4.0: works (prints abcdef)
> gentoo 6.5.1-0 fails (blank line)
> gentoo 6.5.2-9: fails (blank line)

same here:

% uname -srm
FreeBSD 8.0-BETA2 ia64
% convert -comment abcdef logo: png:- | identify -format %c png:-

% convert -comment abcdef logo: png:- | identify -verbose -format %c png:-
abcdef
% 

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423