ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: Marco on June 30, 2016, 02:26:07 PM

Title: FFF format to tiff
Post by: Marco on June 30, 2016, 02:26:07 PM
Hello,

is it possible using ExifTool to export an entire folder of fff image format in tiff format.
I have a Flir Camera which records in this format, the Flir software only exports jpg with the result of loosing all the radiometric information.
I dont know much about this topic but I'd like to have tiff format for further analisis, any help is appreciate.

Regards.

Marco
Title: Re: FFF format to tiff
Post by: odog502 on June 30, 2016, 03:42:36 PM
ExifTool isn't an image converter but it can move all your metadata from one file to another.

If you would be ok with the jpg format if it included the metadata I would do something like the following:
1) Copy all your fff files to a separate working directory(never work with originals until you have confirmed the results)
2) Take a snapshot of the "before" state
exiftool -a -G1 D:\temp\fff > D:\temp\fff\exifprops-fff.txt
3) Use your software to export the jpgs to a different directory
4) Using the "tagsFromFile" option in Exiftool copy all the tags from the fff files to the exported jpgs.  Examples can be found here (http://www.exiftool.org/exiftool_pod.html#copying_examples).  If your fff files and jpgs have the same filenames, just different extensions this part will be easy.  If not, you would need to add some additional logic to the command or some scripting.
5) Take a snapshot of the jpgs to confirm that all the metadata got copied over
exiftool -a -G1 D:\temp\jpgs > D:\temp\jpgs\exifprops-jpgs.txt

You can compare manually with just your eyes but I recommend Beyond Compare (http://www.scootersoftware.com/) for comparing the before and after states.  Its pretty awesome :)
Title: Re: FFF format to tiff
Post by: Marco on July 04, 2016, 06:20:37 AM
Hi odog,

since you have been the only one answering and since this is my first post I have to tell you that I am totally weak about this matter using exiftool.
Said that I would like to describe you better my project...

we are an Italian company using drones for different projects, in this case we are monitoring tomato and corn fields using a thermocamera for a project linked to precision farming subject.

The aim of the project is to get a map showing the thermo differences inside the monitored field.
In order to get a map we use a software that is capable of matching those images with high overlap, the software finds homologues points among images and the map is the final result,  the software can only digest two formats jpg and tiff.

Jpg as you know is a compressed format and in the jpg we basically loose the radiometric information we need, conversely the tif is 16 bit file which contains all the information we need.

as you explained in your previous post, there is a way using exiftool to transfer all the information from tif to jpg, did I understand right?

the only thing I am worried about is if the software is going to interpretate correctly the data, but I will find out just trying.

Best regards.

Marco

thanks for your help
Title: Re: FFF format to tiff
Post by: Phil Harvey on July 04, 2016, 06:37:51 PM
Hi Marco,

ExifTool doesn't do any image manipulations at all.  It deals only with metadata.  As such, it can copy the metadata from a tiff to a jpg, but can't be used to change the image.

- Phil
Title: Re: FFF format to tiff
Post by: Marco on July 05, 2016, 09:36:55 AM
Hi Phil,

if I follow the procedure posted by odog can I actually copy all the metadata from a fff file to jpg file?
Can you please try with these two images I have attached?
The images are the same but the jpg doesnt have the metadata I need.
Title: Re: FFF format to tiff
Post by: Phil Harvey on July 05, 2016, 10:48:08 AM
ExifTool will not write FLIR metadata, so only those tags which have the same name in other information types are copied.

The bottom line is that ExifTool probably won't do what you want here.

- Phil