I use
exiftool -b -MPImage2 IMG_XXXX.jpg > IMG_XXXX_depth.jpg
but the result is a 0kb file
exiftool -depthmapdata -b IMG_XXXX.jpg > depth.dat
give me a full dat file
I need grayscale pic depthmap.
I tried the tool on 2 different pc. Same result.
I apologize if i repeat something of already discussed but i did not find any similar topic.
Quote from: Nulupu on April 07, 2024, 03:42:44 AMI use
exiftool -b -MPImage2 IMG_XXXX.jpg > IMG_XXXX_depth.jpg
but the result is a 0kb file
This most likely means that there isn't an
MPImage2 Try the command in this example (https://exiftool.org/exiftool_pod.html#exiftool--a--b--W-d-f_-t--c.-s--preview:all-dir) to extract and save embedded images.
If that doesn't work, use this command and copy/paste the output here
exiftool -G1 -a -s -MPF:all IMG_XXXX_depth.jpgexiftool -G1 -a -s -MPF:all IMG_XXXX.jpg
Edit: Made an error in filename in the above command, fixed
What version of exiftool are you using?
exiftool -ver
It works correctly here
C:\>exiftool -ver
12.82
C:\>exiftool -a -b -W %d%f_%t%-c.%s -preview:all Y:\!temp\x\y\z\IMG_5452.jpg
1 output files created
IMG_5452_MPImage2.jpg
Thanks for the inputs,
i'm starting now with this toy but i've found my mistake.
Mi pics works fine with:
exiftool -b -DepthMapTiff IMG_XXXX.jpg > IMG_XXXX_depth.tiff (or jpg)
Thanks!