Hello,
The extracted output data is approximately double the indicated size and the gray image displayed by gimp doesn't correspond to what is expected,
[MakerNotes] DepthMapName : DualShot_DepthMap_1
[MakerNotes] DepthMapData : (Binary data 762048 bytes, use -b option to extract)
[MakerNotes] DepthMapWidth : 1008
[MakerNotes] DepthMapHeight : 756
[Composite] Aperture : 2.1
[Composite] ImageSize : 4032x3024
[Composite] DepthMapTiff : (Binary data 762252 bytes, use -b option to extract)
Regards
I can't reproduce that here.
C:\>exiftool -g1 -a -s -DepthMapData "Y:\!temp\ccccc\g\untitled shoot-022.jpg"
---- Samsung ----
DepthMapData : (Binary data 762048 bytes, use -b option to extract)
C:\>exiftool -g1 -a -s -b -DepthMapData >Y:\!temp\ccccc\g\temp "Y:\!temp\ccccc\g\untitled shoot-022.jpg"
C:\>exiftool -g1 -a -s -filesize# Y:\!temp\ccccc\g\temp
---- System ----
FileSize : 762048
Ah, got it. Do not use PowerShell when you want to redirect or pipe binary data. See here (https://exiftool.org/forum/index.php/topic,8137.msg41663.html#msg41663).
Thank you so much.
I was far from thinking that Powershell was the culprit.
Have a nice day.