Page 1 of 1

Feature request identify and thumbail

Posted: 2009-05-09T12:51:03-07:00
by broucaries
Hello,

One of our user asks for identify -v reporting thumbail size. (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=527918)

Thank you very much for imagemagick

Regards

Bastien

Re: Feature request identify and thumbail

Posted: 2009-05-09T17:36:48-07:00
by magick
One of our user asks for identify -v reporting thumbail size
We'll need more information. What thumbnail? The one embedded in the EXIF profile? If so it should be reported as a EXIF property (e.g. exif:ThumbnailImageWidth). Post a URL to one or two images that include a thumbnail that we can download and test. State where the thumbnail is located (e.g. in EXIF profile) and how you expect the identify program to report the presence of the thumbnail (e.g. thumbnail width / height).

Re: Feature request identify and thumbail

Posted: 2009-08-06T20:29:30-07:00
by naoliv
Hi!

Two examples can be seen at http://a1264.g.akamai.net/7/1264/734/62 ... launch.jpg and http://6.blog.xuite.net/6/4/0/2/1270390 ... 9387/0.jpg

Both files have a thumbnail.
Desired information would be: thumbnail width, height, offset, length and size.

For example, with jhead we have (using the above pictures):

Code: Select all

$ jhead -v 0.jpg | grep Thum   
        ThumbnailOffset = 5108
        ThumbnailLength = 6979
Thumbnail size: 6979 bytes

Code: Select all

$ jhead -v dwp_2007launch.jpg | grep Thum 
        ThumbnailOffset = 302
        ThumbnailLength = 8040
Thumbnail size: 8040 bytes
Thank you!

Re: Feature request identify and thumbail

Posted: 2009-08-07T10:14:02-07:00
by magick
With ImageMagick 6.5.4-9, the latest release, some of the information you requested is returned:
  • -> identify -verbose 0.jpg
    ...
    exif:JPEGInterchangeFormat: 5108
    exif:JPEGInterchangeFormatLength: 6979

    -> identify -verbose dwp_2007launch.jpg
    ...
    exif:JPEGInterchangeFormat: 302
    exif:JPEGInterchangeFormatLength: 8040
EXIF supports exif:ThumbnailFormat, exif:ThumbnailWidth, exif:ThumbnailHeight, etc. but these attributes do not appear to be specified in your EXIF profile so they are not displayed in the identify output.