extract exif thumbnail

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
baibaichen
Posts: 11
Joined: 2010-03-23T20:32:14-07:00
Authentication code: 8675308

extract exif thumbnail

Post by baibaichen »

Does IM support extracting exif thumbnail from tiff and jpeg?

I search the forum and documentation but can't find solution.

Thanks
Chang
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: extract exif thumbnail

Post by magick »

Assume your EXIF profile is embedded in an JPEG image. Use this command:
  • convert image.jpg thumbnail:thumb.jpg
baibaichen
Posts: 11
Joined: 2010-03-23T20:32:14-07:00
Authentication code: 8675308

Re: extract exif thumbnail

Post by baibaichen »

  • convert image.jpg thumbnail:thumb.jpg
[/quote]

it doesn't work

I took a look at code, it looks like that covert doesn't process the last parameter, it always treat it as output filename.

-Chang
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: extract exif thumbnail

Post by fmw42 »

can you post a link to an example image so that the IM folks can test with it.
baibaichen
Posts: 11
Joined: 2010-03-23T20:32:14-07:00
Authentication code: 8675308

Re: extract exif thumbnail

Post by baibaichen »

The JPEG file that i used is very popular, and comes from Nikon D70s, I can extract the exif thumbnail from jhead with the same file.

where is the documentation about thumbnail:

thanks
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: extract exif thumbnail

Post by snibgo »

"thumbnail:" is documented on http://www.imagemagick.org/Usage/formats/

We don't all have a Nikon D70s, so posting your file will help diagnostics. When I use the command on an image from my camera:

Code: Select all

convert PICT0001.JPG thumbnail:th0001.jpg
I get the expected image, which is the (rather horrible) thumbnail created by my camera.
snibgo's IM pages: im.snibgo.com
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: extract exif thumbnail

Post by fmw42 »

what version of IM are you using? perhaps you need an upgrade to make thumbnail: work properly?
Post Reply