MPImage2 output 0Kb

Started by Nulupu, April 07, 2024, 03:42:44 AM

Previous topic - Next topic

Nulupu

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.


StarGeek

#1
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 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.jpg
exiftool -G1 -a -s -MPF:all IMG_XXXX.jpg
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

StarGeek

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
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

Nulupu

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!