xmp-apdi, xmp-depthData and xmp-depthBlurEffect

Started by herb, March 29, 2019, 10:20:41 AM

Previous topic - Next topic

herb

Hello Phil,

Some weeks ago I was informed about the image format .heic/.heif
My friends told me, this will become the new standard for still images (just as jpg is today).

So I searched for some samples in the internet and I found one file that contains 2 blocks of XMP metadata.
The 2nd block is written to the fileend and it contains the following
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 5.4.0">
   <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
      <rdf:Description rdf:about=""
            xmlns:depthData="http://ns.apple.com/depthData/1.0/"
            xmlns:apdi="http://ns.apple.com/pixeldatainfo/1.0/"
            xmlns:depthBlurEffect="http://ns.apple.com/depthBlurEffect/1.0/">
  ... shortened
</x:xmpmeta>


This topic is to inform you about these 3 namespaces.

I tried to export all XMP metadata but I had no success with the unknown tags.
I tried to export them as 1 block with -XMP and I also tried with -XMP:all.
Exiftool exported only the known tags stored in 1st XMP-block.

This lead me to the generell question:
Let us assume all blocks contain well known XMP metadata.
Can -XMP also be used in this case?

Thanks in advance
Herb

Phil Harvey

Hi Herb,

Thanks for the sample.

It is unfortunate that there are two XMP blocks in this image.  To see them both with -xmp you would need to add -a.  To copy them both is problematic because they should be combined into a single XMP block for writing, but ExifTool can't do this with unknown XMP tags.

Even more unfortunate is that the XMP is stored in yet another location (different than both MOV and MP4 which are both QuickTime-based like HEIC), and so ExifTool will create a third XMP block in this file if used to write XMP.

Quote from: herb on March 29, 2019, 10:20:41 AM
This topic is to inform you about these 3 namespaces.

Thanks.  But I don't think I'll add support for writing these just yet.

- 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 ($).

neebah

Just FYI.  These XMP sets are how apple tells that the picture was taken in portrait mode and provides data useful for adding lighting effects. 

Milk_Dream

Why all topics about depth data stores in HEIC die without useful answere? :)))