How to add my own depth map to a jpeg

Started by MilitanteTrapeze, June 23, 2022, 01:46:28 PM

Previous topic - Next topic

MilitanteTrapeze

Hello everybody,

I have an image (jpg) and a depth map (jpg) in two separate files. I want to merge them into one singe file. I've tried this solution here https://photo.stackexchange.com/questions/102994/is-there-a-way-to-add-depth-map-metadata-to-a-jpg, but I get this error : "Warning: Sorry, Data is not writable. Nothing to do". I don't get the error and I'm pretty new for using the terminal.

PS : I tried to add a "MP Image 2" tag to a file who don't already have it

Thank you for reading  ;D

Phil Harvey

I suspect the tag name "Data" has changed.  You need to start with a file that already has a depth map, then step number 1 in the stackexchange answer will tell you what tag name to use.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).