ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: ramphastos on July 10, 2018, 08:15:33 AM

Title: Extract digital jpg image embeded in FLIR jpg
Post by: ramphastos on July 10, 2018, 08:15:33 AM
Hi there,

Is there a way to extract the digital image sometimes included in FLIR jpgs with Exiftool?  (for cameras with dual IR and DC)

Analogous to the -b -rawthermalimage option, except for the digital jpg?

Cheers
Glenn
Title: Re: Extract digital jpg image embeded in FLIR jpg
Post by: Phil Harvey on July 10, 2018, 08:41:00 AM
Hi Glenn,

Here is a command to extract available embedded images from all files in directory DIR to directory OUTDIR:

exiftool -preview:all -a -b -W OUTDIR/%f_%t%c.%s DIR

- Phil
Title: Re: Extract digital jpg image embeded in FLIR jpg
Post by: ramphastos on July 10, 2018, 10:18:44 AM
Thanks Phil!  I'll put this to use!

Glenn
Title: Re: Extract digital jpg image embeded in FLIR jpg
Post by: Nic on May 07, 2024, 10:50:24 AM
I appreciate that the is 6 years old but it is the closed I've found to an answer. Unfortunately when I use

exiftool -preview:all -a -b -W OUTDIR/%f_%t%c.%s DIR

I only get the 1st image in my sequence which I know to be 30 images long. What am I missing here?
Title: Re: Extract digital jpg image embeded in FLIR jpg
Post by: StarGeek on May 07, 2024, 10:56:58 AM
What version of exiftool?
exiftool -ver

Can you share a sample image?
Title: Re: Extract digital jpg image embeded in FLIR jpg
Post by: Nic on May 08, 2024, 10:56:13 AM
Version 12.84

Here's a link to th eimage I'm getting Extracted TIFF from SEQ (https://drive.google.com/file/d/1-H5_nqEIFsV5sLRmJKh_StlWR7nn8kyq/view?usp=sharing)

The dimensions are correct but there's only one of them.
Title: Re: Extract digital jpg image embeded in FLIR jpg
Post by: Phil Harvey on May 08, 2024, 10:59:25 AM
It is the original SEQ that we need to see.

- Phil
Title: Re: Extract digital jpg image embeded in FLIR jpg
Post by: Nic on May 08, 2024, 01:07:07 PM
Link to SEQ file (https://drive.google.com/file/d/1-JALtmHiU2qcUsQ9iTJQB-DhFEMb0Rjl/view?usp=sharing)
Title: Re: Extract digital jpg image embeded in FLIR jpg
Post by: Phil Harvey on May 08, 2024, 03:29:11 PM
I see.  This is explained in the FLIR FFF tag name documentation (https://exiftool.org/TagNames/FLIR.html#FFF).  You need to add the -ee2 option to extract the embedded raw images from all frames.

As far as I can tell from the release notes, the version from 6 years ago would only extract all images from the first frame.

- Phil
Title: Re: Extract digital jpg image embeded in FLIR jpg
Post by: Nic on May 09, 2024, 06:24:12 AM
Yep that worked, thanks Phil & thanks for the great tool.

Nic