Examples
Stay organized with collections
Save and categorize content based on your preferences.
Total XMP blob size smaller than 64 KB
<rdf:Description rdf:about=""
xmlns:GDepth="http://ns.google.com/photos/1.0/depthmap/"
GDepth:Mime="image/jpeg"
GDepth:Format="RangeInverse"
GDepth:Near="29.3"
GDepth:Far="878.7"
GDepth:Mime="image/png"
GDepth:Data="iVBORw0KGgoAAAANSUhEUgAAAtAAAAPACAYAAAA..." />
Total XMP blob size larger than 64 KB
<rdf:Description rdf:about=""
xmlns:GDepth="http://ns.google.com/photos/1.0/depthmap/"
xmlns:xmpNote="http://ns.adobe.com/xmp/note/"
GDepth:Mime="image/jpeg"
GDepth:Format="RangeInverse"
GDepth:Near="29.3"
GDepth:Far="878.7"
GDepth:Mime="image/png"
GDepth:MeasureType="OpticalAxis"
GDepth:ConfidenceMime="image/png"
GDepth:Manufacturer="Primesense"
GDepth:Model="Carmine"
GDepth:Software="Tango 1.0"
GDepth:Units="mm"
xmpNote:HasExtendedXMP="36BE52D449F3E6B9760D7602FF75168D"/>
and a possibly very large extended xmp section:
<rdf:Description rdf:about=""
xmlns:GDepth="http://ns.google.com/photos/1.0/depthmap/"
GDepth:Data="iVBORw0KGgoAAAANSUhEUgAAAtAAAAPACAYAAAA..."
GDepth:Confidence="iVBORw0KGgoAAATNSUhEUgBAAtAAAACCA..." />
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2023-06-23 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-06-23 UTC."],[[["\u003cp\u003eDepth data in Google Photos is stored using XMP metadata, with different handling for data sizes below and above 64 KB.\u003c/p\u003e\n"],["\u003cp\u003eSmaller depth data is directly embedded within the main XMP block using the \u003ccode\u003eGDepth:Data\u003c/code\u003e tag.\u003c/p\u003e\n"],["\u003cp\u003eLarger depth data is split, with key properties in the main XMP and the raw depth and confidence data moved to an extended XMP section referenced by \u003ccode\u003exmpNote:HasExtendedXMP\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGDepth\u003c/code\u003e namespace defines specific tags for depth metadata like format, near/far values, and measurement units.\u003c/p\u003e\n"],["\u003cp\u003eExtended XMP allows for storing large depth and confidence data separately, ensuring efficient handling of comprehensive depth information.\u003c/p\u003e\n"]]],[],null,["# Examples\n\nTotal XMP blob size smaller than 64 KB\n--------------------------------------\n\n```text\n \u003crdf:Description rdf:about=\"\"\n xmlns:GDepth=\"http://ns.google.com/photos/1.0/depthmap/\"\n GDepth:Mime=\"image/jpeg\"\n GDepth:Format=\"RangeInverse\"\n GDepth:Near=\"29.3\"\n GDepth:Far=\"878.7\"\n GDepth:Mime=\"image/png\"\n GDepth:Data=\"iVBORw0KGgoAAAANSUhEUgAAAtAAAAPACAYAAAA...\" /\u003e\n```\n\nTotal XMP blob size larger than 64 KB\n-------------------------------------\n\n```text\n \u003crdf:Description rdf:about=\"\"\n xmlns:GDepth=\"http://ns.google.com/photos/1.0/depthmap/\"\n xmlns:xmpNote=\"http://ns.adobe.com/xmp/note/\"\n GDepth:Mime=\"image/jpeg\"\n GDepth:Format=\"RangeInverse\"\n GDepth:Near=\"29.3\"\n GDepth:Far=\"878.7\"\n GDepth:Mime=\"image/png\"\n GDepth:MeasureType=\"OpticalAxis\"\n GDepth:ConfidenceMime=\"image/png\"\n GDepth:Manufacturer=\"Primesense\"\n GDepth:Model=\"Carmine\"\n GDepth:Software=\"Tango 1.0\"\n GDepth:Units=\"mm\"\n xmpNote:HasExtendedXMP=\"36BE52D449F3E6B9760D7602FF75168D\"/\u003e\n\n and a possibly very large extended xmp section:\n\n \u003crdf:Description rdf:about=\"\"\n xmlns:GDepth=\"http://ns.google.com/photos/1.0/depthmap/\"\n GDepth:Data=\"iVBORw0KGgoAAAANSUhEUgAAAtAAAAPACAYAAAA...\"\n GDepth:Confidence=\"iVBORw0KGgoAAATNSUhEUgBAAtAAAACCA...\" /\u003e\n```"]]