1

I have an image, where I want to create a new tag called "DepthMap" and add an image to that tag. I have searched a lot but could not find an example to do it.

1
  • I'm assuming that this is your reddit post. Here you give the additional info that you want to embed an actual file as the depth map, which narrows the tag down to the XMP-GDepth tag group rather than the XMP-Device:Cameras group I mention in that post. Commented Jul 23, 2020 at 17:10

1 Answer 1

2

Assuming you want to embed a depth map image into the XMP-GDepth:DepthImage tag, the basic command would be:
exiftool "-xmp-gdepth:DepthImage<=depthmap.jpg" File.jpg

But note that there might be other data required. See this exiftool forum post for more info. A couple changes from that post is that the config file is no longer necessary and xmp-gdepth:data is now XMP-GDepth:DepthImage as shown in the above command.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.