ExifTool Forum

ExifTool => Newbies => Topic started by: batcheej on September 28, 2010, 07:01:06 PM

Title: Extracting FotoStaton Thumbnail Image and Preview Image
Post by: batcheej 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.
Title: Re: Extracting FotoStaton Thumbnail Image and Preview Image
Post by: Phil Harvey 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
Title: Re: Extracting FotoStaton Thumbnail Image and Preview Image
Post by: batcheej 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.