Author Topic: Extracting FotoStaton Thumbnail Image and Preview Image  (Read 2519 times)

batcheej

  • Newbie
  • *
  • Posts: 2
Extracting FotoStaton Thumbnail Image and Preview Image
« on: September 28, 2010, 07:01:06 PM »
Newbie looking for some Help. I have a jpg file that contains Composite and FotoStation thumbnails and preview images. (See attached screen capture). I have been able to extract the composite thumbnail and preview images, but do not know how to extract the FotoStation thumbnail and preview images. Is there a way/command (I was able to extract the Composite images with the -b option) to extract the FotoStation thumbnail and preview images? Thanks in advance.

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 14759
    • ExifTool Home Page
Re: Extracting FotoStaton Thumbnail Image and Preview Image
« Reply #1 on: September 29, 2010, 07:12:28 AM »
Sure.  This command extracts the first ThumbnailImage:

exiftool -thumbnailimage -b FILE > thumb1.jpg

and this command extracts the second:

exiftool -copy1:thumbnailimage -b FILE > thumb2.jpg

You can use any group name that is different between the two tags to extract a specific ThumbnailImage/PreviewImage.  The copy number group (family 4) is always guaranteed to be different, but in this case the specific location group (family 1) may also be different.  You can use a command like this to see the group names for all tags:

exiftool -a -s -G4 FILE

this shows the copy number group names for each tag.  Tags which are not duplicated do not have a copy number.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

batcheej

  • Newbie
  • *
  • Posts: 2
Re: Extracting FotoStaton Thumbnail Image and Preview Image
« Reply #2 on: September 29, 2010, 12:46:18 PM »
Phil,

Thank you for your response. Those commands got me what I needed. Thank you for exiftool.