batch extracting thermal imagery

Started by xabierr, March 29, 2018, 01:51:44 AM

Previous topic - Next topic

xabierr

I have jpg images taken with a FLIR thermal camera and extracting raw images stored in the metadata by using:  exiftool -rawthermalimage filename.jpg > filename.tif in Windows 10

How can I batch process this to extract raw data from all images in a folder?

cheers,

Javier

Phil Harvey

Hi Javier,

I hope you were using the -b option.

To do this for all JPG files in a folder, try this:

exiftool -rawthermalimage -b -w tif -ext jpg DIR

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

Ultrapurple

Sorry to resurrect this zombie thread.

I have been trying to convert FLIR SC-660 images using this magic incantation. It used to work but now I can't seem to make it behave. DIR seems (now?) to be mandatory; is this the case?
For instance,
D:\Thermal\2021>exiftool -rawthermalimage -b -w tif -ext jpg D:\Thermal\2021
will scan the image(s) in the current directory (D:\Thermal\2021), but only when I specify the DIR.
I was under the impression that DIR was (a) optional and (b) to specify the output directory - am I wrong?

Just for clarity I am using version 12.30 on a Windows 10 machine; exiftool.exe is in a directory in the Path and I'm running the commands from a command prompt box.

StarGeek

Quote from: Ultrapurple on September 09, 2021, 06:46:53 AM
I was under the impression that DIR was (a) optional and (b) to specify the output directory - am I wrong?

The directory to scan is not optional, never has been.  Exiftool needs to know where it needs to look for files to process.  You can use a single dot . to indicate that you want to process the current directory.

In order to control where the thermal images are written, you need to include a full format string, e.g. -w /new/path/%f.tif instead of just the extension.  See the -w (-TextOut) option for details.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype