Copy thermal Metadata from jpeg to tiff

Started by python, May 14, 2023, 04:03:21 PM

Previous topic - Next topic

python

Hello I would like some help in copying metadata from a thermal jpeg to a tif specifically the following tags:

Relative Humidity             
Planck R1                       
Planck B                       
Planck F                       
Atmospheric Trans Alpha 1       
Atmospheric Trans Alpha 2       
Atmospheric Trans Beta 1       
Atmospheric Trans Beta 2   
Atmospheric Trans X           

I tried the following:
exiftool.exe -tagsfromfile DJI_1_R.jpg  DJI_1_R.tif

exiftool.exe -tagsfromfile DJI_1_R.jpg -all:all DJI_1_R.tif

but the tags are missing, I tried reading the docs but it's confusing. I would be very grateful if someone can help me with this

python

I found that the tags I want are in FLIR CameraInfo Tags, and that they're not writable. any idea on how can I go about writing them on the tiffs ?

Phil Harvey

I think these are probably MakerNote tags, which can't be written individually.  In this case the only thing you could do is copy the makernotes as a block (see FAQ 8);

exiftool -tagsfromfile %d%f.jpg -make -model -makernotes file.tif

- 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 ($).