JonoMcG
lvl.2
South Africa
Offline
|
fans48c0c119 Posted at 12-10 10:09
Hello!
Your tool looks pretty good. I will test it more, but I have a question. Is it possible to convert not just a single picture but a whole folder at the same time?
Not directly using the command line tool at the moment. I use the command line tool within a python script to iterate over a folder of images, exporting out each image individually:
For example:
import subprocess, osdirectory = "." #current folderfor root, dirs, files in os.walk(directory): for f in files:
if f.endswith("T.JPG"):
file_path = os.path.join(root, f)
p = subprocess.Popen(['C:\dev\Python\DJI_R-JPEG-converter-cmd-tool\dist\main\main.exe', '-o', folders['thermal_tiff'], file_path])
p.wait()
It wouldn't be difficult to modify the command line script to be able to do this. I don't have time at the moment but anybody else is free to do so and share the modified version. All the python source code is shared on the Exiftool forum: https://exiftool.org/forum/index.php?topic=11401
|
|