Samsung Note10+ wrong binary data extracted for depthmap

Started by krys, November 12, 2020, 01:38:36 PM

Previous topic - Next topic

krys

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

StarGeek

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
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

StarGeek

Ah, got it.  Do not use PowerShell when you want to redirect or pipe binary data.  See here.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

krys

Thank you so much.
I was far from thinking that Powershell was the culprit.

Have a nice day.