Feature request identify and thumbail

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
broucaries
Posts: 467
Joined: 2008-12-21T11:51:10-07:00

Feature request identify and thumbail

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Feature request identify and thumbail

Post 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).
naoliv
Posts: 110
Joined: 2007-12-10T18:54:27-07:00
Location: Brazil

Re: Feature request identify and thumbail

Post 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!
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Feature request identify and thumbail

Post 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.
Post Reply