[6.6.0-4] identify with %[type] and %[exif:*] yield nothing.

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
braingateway
Posts: 2
Joined: 2012-07-08T00:07:57-07:00
Authentication code: 13

[6.6.0-4] identify with %[type] and %[exif:*] yield nothing.

Post by braingateway »

identify -format "%[type]" aaa.png and identify -format "%[exif:*]" aaa.png both yield nothing.
I also tried %[EXIF:*], %[EXIF: *], %[exif:!], but nothing works.
##############
Version: ImageMagick 6.6.0-4 2012-04-30 Q16 http://www.imagemagick.org

identify -format "%r;depth:%z;channels:%[channels];File Size:%[size];%C;%[type];%[exif:*];" aaa.png
DirectClassRGBMatte;depth:16;channels:rgba;File Size:535KB;Zip;;;

identify -format "%r;depth:%z;channels:%[channels];File Size:%[size];%C;%[type];%[exif:*];" bbb.jpg
PseudoClassGray;depth:8;channels:rgb;File Size:321KB;JPEG;;;
##############

Is this a knowing issue? Or did I use it wrong?
from the old bug reports, it seems had already been fixed long time ago?
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=473529
viewtopic.php?f=3&t=10491
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: [6.6.0-4] identify with %[type] and %[exif:*] yield noth

Post by anthony »

Works fine for me with ImageMagick 6.7.7-10

Code: Select all

identify -format "%[exif:*]" http://www.imagemagick.org/Usage/photos/pagoda_sm.jpg 
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
braingateway
Posts: 2
Joined: 2012-07-08T00:07:57-07:00
Authentication code: 13

Re: [6.6.0-4] identify with %[type] and %[exif:*] yield noth

Post by braingateway »

Thanks! the "%[exif:*]" works on this image with [6.6.0-4]. So there must be some problem with my images. However, the "%[type]" still yield nothing for this pagoda_sm.jpg.
anthony wrote:Works fine for me with ImageMagick 6.7.7-10

Code: Select all

identify -format "%[exif:*]" http://www.imagemagick.org/Usage/photos/pagoda_sm.jpg 
User avatar
anthony
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: [6.6.0-4] identify with %[type] and %[exif:*] yield noth

Post by anthony »

I think type was only recently fixed with some changes I made.

Hmmm I get 'TrueColor' as an answer for type.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
Post Reply