简体   繁体   中英

How to add metadata using Exiftool?

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM