The Extensible Metadata Platform (XMP) is an
ISO standard, originally created by
Adobe Systems Inc., for the creation, processing and interchange of standardized and custom metadata for digital documents and data sets.
XMP standardizes a data model, a serialization format and core properties for the definition and processing of extensible
metadata. It also provides guidelines for embedding XMP information into popular image, video and document file formats, such as
JPEG
JPEG ( ) is a commonly used method of lossy compression for digital images, particularly for those images produced by digital photography. The degree of compression can be adjusted, allowing a selectable tradeoff between storage size and im ...
and
PDF, without breaking their readability by applications that do not support XMP. Therefore, the non-XMP metadata have to be reconciled with the XMP properties. Although metadata can alternatively be stored in a
sidecar file, embedding metadata avoids problems that occur when metadata is stored separately.
The XMP data model, serialization format and core properties is published by the International Organization for Standardization as ISO 16684-1:2012 standard.
Data model
The defined XMP data model can be used to store any set of metadata properties. These can be simple name/value pairs, structured values or lists of values. The data can be nested as well. The XMP standard also defines particular
namespaces for defined sets of core properties (e.g. a namespace for the
Dublin Core
220px, Logo image of DCMI, which formulates Dublin Core
The Dublin Core, also known as the Dublin Core Metadata Element Set (DCMES), is a set of fifteen "core" elements (properties) for describing resources. This fifteen-element Dublin Core has ...
Metadata Element Set). Custom namespaces can be used to extend the data model.
An instance of the XMP data model is called an XMP packet. Adding properties to a packet does not affect existing properties. Software to add or modify properties in an XMP packet should leave properties that are unknown to it untouched.
For example, it is useful for recording the history of a resource as it passes through multiple processing steps, from being photographed,
scanned, or authored as text, through photo editing steps (such as
cropping or color adjustment), to assemble into a final document. XMP allows each software program or device along the workflow to add its own information to a digital resource, which carries its metadata along. The prerequisite is that all involved editors either actively support XMP, or at least do not delete it from the resource.
Serialization
The abstract XMP data model needs a concrete representation when it is stored or embedded into a file. As serialization format, a subset of the
W3C RDF/XML syntax is most commonly used. It is a syntax to express a
Resource Description Framework The Resource Description Framework (RDF) is a World Wide Web Consortium (W3C) standard originally designed as a data model for metadata. It has come to be used as a general method for description and exchange of graph data. RDF provides a variety of ...
graph in XML. There are various equivalent ways to serialize the same XMP packet in RDF/XML.
The most common metadata tags recorded in XMP data are those from the
Dublin Core Metadata Initiative, which include things like title, description, creator, and so on. The standard is designed to be extensible, allowing users to add their own custom types of metadata into the XMP data. XMP generally does not allow binary data types to be embedded. This means that any binary data one wants to carry in XMP, such as
thumbnail images, must be encoded in some XML-friendly format, such as
Base64.
XMP metadata can describe a document as a whole (the "main" metadata), but can also describe parts of a document, such as pages or included images. This architecture makes it possible to retain authorship and rights information about, for example, images included in a published document. Similarly, it permits documents created from several smaller documents to retain the original metadata associated with the parts.
Example
This is an example XML document for serialized XMP metadata in a JPEG photo:
Picasa
912
687
pixel
0.680921052631579
0.3537117903930131
0.4264919941775837
0.32127192982456143
normalized
912
687
0220
This metadata describes various properties of the image like the creator tool, image dimension or a face region within the image.
Embedding
Embedding metadata in files allows easy sharing and transfer of files across products, vendors, platforms, without metadata getting lost. Embedding avoids a multitude of problems coming from proprietary vendor-specific metadata databases.
XMP can be used in several file formats such as
PDF,
JPEG
JPEG ( ) is a commonly used method of lossy compression for digital images, particularly for those images produced by digital photography. The degree of compression can be adjusted, allowing a selectable tradeoff between storage size and im ...
,
JPEG 2000
JPEG 2000 (JP2) is an image compression standard and coding system. It was developed from 1997 to 2000 by a Joint Photographic Experts Group committee chaired by Touradj Ebrahimi (later the JPEG president), with the intention of superseding th ...
,
JPEG XR,
GIF,
PNG,
WebP,
HTML
The HyperText Markup Language or HTML is the standard markup language for documents designed to be displayed in a web browser. It can be assisted by technologies such as Cascading Style Sheets (CSS) and scripting languages such as JavaScri ...
,
TIFF,
Adobe Illustrator,
PSD,
MP3
MP3 (formally MPEG-1 Audio Layer III or MPEG-2 Audio Layer III) is a coding format for digital audio developed largely by the Fraunhofer Society in Germany, with support from other digital scientists in the United States and elsewhere. Orig ...
,
MP4,
Audio Video Interleave
Audio Video Interleave (also Audio Video Interleaved and known by its initials and filename extension AVI, usually pronounced ), is a proprietary multimedia container format and Windows standard introduced by Microsoft in November 1992 as part ...
,
WAV,
RF64,
Audio Interchange File Format,
PostScript
PostScript (PS) is a page description language in the electronic publishing and desktop publishing realm. It is a dynamically typed, concatenative programming language. It was created at Adobe Systems by John Warnock, Charles Geschke, ...
,
Encapsulated PostScript, and proposed for
DjVu. In a typical edited
JPEG
JPEG ( ) is a commonly used method of lossy compression for digital images, particularly for those images produced by digital photography. The degree of compression can be adjusted, allowing a selectable tradeoff between storage size and im ...
file, XMP information is typically included alongside
Exif
Exchangeable image file format (officially Exif, according to JEIDA/JEITA/CIPA specifications) is a standard that specifies formats for images, sound, and ancillary tags used by digital cameras (including smartphones), scanners and other syste ...
and
IPTC Information Interchange Model data.
Location in file types
''For more details, th
XMP Specification, Part 3 Storage in Fileslisted below has details on embedding in specific file formats.''
*
TIFFTag 700
*
JPEG
JPEG ( ) is a commonly used method of lossy compression for digital images, particularly for those images produced by digital photography. The degree of compression can be adjusted, allowing a selectable tradeoff between storage size and im ...
Application segment 1 (0xFFE1) with segment header "
http://ns.adobe.com/xap/1.0/\x00"
*
JPEG 2000
JPEG 2000 (JP2) is an image compression standard and coding system. It was developed from 1997 to 2000 by a Joint Photographic Experts Group committee chaired by Touradj Ebrahimi (later the JPEG president), with the intention of superseding th ...
"uuid" atom with UID of 0xBE7ACFCB97A942E89C71999491E3AFAC
*
PNGinside an "iTXt" text block with the keyword "XML:com.adobe.xmp"
*
GIFas an Application Extension with identifier "XMP Data" and authentication code "XMP"
*
MP3
MP3 (formally MPEG-1 Audio Layer III or MPEG-2 Audio Layer III) is a coding format for digital audio developed largely by the Fraunhofer Society in Germany, with support from other digital scientists in the United States and elsewhere. Orig ...
inside the ID3 block as a "PRIV" frame with an owner identifier of "XMP".
*
MP4top-level "UUID" box with the UUID 0xBE7ACFCB97A942E89C71999491E3AFAC (Same as JPEG 2000)
*
MOV (QuickTime)"XMP_" atom within a "udta" atom, within a top level "moov" atom.
*
PDFembedded in a metadata stream contained in a PDF object
*
WebPinside the files XMP chunk
* For file formats that have no support for embedded XMP data, this data can be stored in external .xmp
sidecar files.
Support and acceptance
XMP Toolkit
The XMP Toolkit implements metadata handling in two libraries:
* XMPCore for creation and manipulation of metadata that follows the XMP Data Model.
* XMPFiles for embedding serialized metadata in files, and for retrieving embedded metadata.
Adobe provides the XMP Toolkit free of charge under a
BSD license
BSD licenses are a family of permissive free software licenses, imposing minimal restrictions on the use and distribution of covered software. This is in contrast to copyleft licenses, which have share-alike requirements. The original BSD li ...
.
The Toolkit includes specification and usage documents (PDFs), API documentation ( doxygen/javadoc
Javadoc (originally cased JavaDoc) is a documentation generator created by Sun Microsystems for the Java language (now owned by Oracle Corporation) for generating API documentation in HTML format from Java source code. The HTML format is used ...
), C++ source code (XMPCore and XMPFiles) and Java
Java (; id, Jawa, ; jv, ꦗꦮ; su, ) is one of the Greater Sunda Islands in Indonesia. It is bordered by the Indian Ocean to the south and the Java Sea to the north. With a population of 151.6 million people, Java is the world's mo ...
source code (currently only XMPCore). XMPFiles is currently available as a C++/Java implementation in Windows, Mac OS, Unix
Unix (; trademarked as UNIX) is a family of multitasking, multiuser computer operating systems that derive from the original AT&T Unix, whose development started in 1969 at the Bell Labs research center by Ken Thompson, Dennis Ritchie, a ...
/Linux
Linux ( or ) is a family of open-source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991, by Linus Torvalds. Linux is typically packaged as a Linux distribution, which i ...
.
Free software and open-source tools (read/write support)
* Alfresco - open source CMS, DAM component can read/write XMP (Microsoft Windows, Linux)
*CC PDF Converter
CC PDF Converter was a free and open-source program that allowed users to convert documents into PDF files on Microsoft Windows operating systems, while embedding a Creative Commons license.
The application leveraged RedMon and Ghostscript and w ...
- A free open source (GPL) program to convert documents to PDF with embedded Creative-Commons license (Microsoft Windows).
* darktable - RAW developer, can read/write XMP in supported file formats (Linux, Mac OS X, Microsoft Windows, BSD)
* digiKam - open source (GPL) image tagger and organiser (Linux, Mac OS X, Microsoft Windows)
*ExifTool
ExifTool is a free and open-source software program for reading, writing, and manipulating image, audio, video, and PDF metadata. It is platform independent, available as both a Perl library (Image::ExifTool) and command-line application. Exi ...
by Phil Harvey, open source Perl
Perl is a family of two High-level programming language, high-level, General-purpose programming language, general-purpose, Interpreter (computing), interpreted, dynamic programming languages. "Perl" refers to Perl 5, but from 2000 to 2019 it ...
module or command line. Can read/write XMP, supports custom XMP schema (platform independent)
* F-Spot - Linux/GNOME photo manager and editor
*Geeqie
Geeqie is a free software image viewer and image organiser program for Unix-like operating systems, which includes Linux-based systems and Apple's OS X. It was first released in March 2010, having been created as a fork of GQview, which appeared ...
- Lightweight Gtk+ based image manager (formerly GQView)
*GIMP
GIMP ( ; GNU Image Manipulation Program) is a free and open-source raster graphics editor used for image manipulation (retouching) and image editing, free-form drawing, transcoding between different image file formats, and more specialized ...
- GNU Image Manipulation Program
* Gwenview - Linux/KDE photo manager and editor
* iText - Open Source Java library that can read and write XMP embedded in PDF files.
* Magic Lantern (firmware) - A firmware add-on for various Canon Digital single-lens reflex (DSLR) cameras, allowing writing of XMP sidecar files including exposure compensation information for post-deflicker.
* RawTherapee - Can read "rating" tags from embedded XMP, which are then shown in the File Browser/Filmstrip using RawTherapee’s star rating system.
* Shotwell - Linux/GNOME photo manager, can read/write Exif
Exchangeable image file format (officially Exif, according to JEIDA/JEITA/CIPA specifications) is a standard that specifies formats for images, sound, and ancillary tags used by digital cameras (including smartphones), scanners and other syste ...
, IPTC and XMP metadata
* TYPO3 - open source Enterprise CMS. DAM component reads XMP (PHP based)
Proprietary tools (read/write support)
* ACDSee Pro can read and write XMP information for DNG, GIF, JPEG, PNG and TIFF files (Microsoft Windows, Mac OS X).
* Acrobat - can read and write XMP in PDF files (Microsoft Windows, Mac OS X, partially Linux).
* Aperture
In optics, an aperture is a hole or an opening through which light travels. More specifically, the aperture and focal length of an optical system determine the cone angle of a bundle of rays that come to a focus in the image plane.
An ...
- Image management application and RAW developer. Reads/writes XMP sidecar files to (batch) import/export image metadata (Mac OS X).
* Bibble5 can read/write XMP information for RAW, JPG and TIFF files (Microsoft Windows, Mac OS X, Linux).
* Bridge
A bridge is a structure built to span a physical obstacle (such as a body of water, valley, road, or rail) without blocking the way underneath. It is constructed for the purpose of providing passage over the obstacle, which is usually somethi ...
- can read/write and batch edit XMP metadata (Microsoft Windows, Mac OS X)
* Capture One - Photo editing and management software. Reads and writes XMP for all supported image formats (Microsoft Windows, Mac OS X).
* Corel AfterShot Pro
Corel AfterShot Pro is a commercial and proprietary raw image processing software by Corel. It is based on Bibble, which Corel acquired. It is notable among commercial raw software for offering a native and up to date Linux version. Version 2 was ...
- RAW processor (Bibble successor), reads/writes XMP, uses XMP sidecar files for non-destructive image processing (Microsoft Windows, Mac OS X, Linux).
* Cumulus - DAM software, can read/write XMP for all supported image formats, InDesign and PDF files (Microsoft Windows, Mac OS X, Linux)
* DBGallery - Can read/write XMP for JPEG, PSD, RAW, TIFF, DNG, PNG, GIF, JP2, PJX, MPG, MP4, MPEG, MOV (Microsoft Windows). Multi-user, central database system.
* FastPictureViewer - Image viewer (Windows) with XMP embedding and/or sidecar files creation (xmp:Rating, xmp:Label, photoshop:Urgency) (Microsoft Windows)
* FrameMaker - publishing tool. Stores document metadata in XMP since version 7.0 (Microsoft Windows)
* Illustrator
An illustrator is an artist who specializes in enhancing writing or elucidating concepts by providing a visual representation that corresponds to the content of the associated text or idea. The illustration may be intended to clarify complicat ...
- illustration software, writes document metadata in XMP (Microsoft Windows, Mac OS X)
* Indesign - page layout software, can pass through XMP in placed objects, writes extensive XMP about document contents in layout documents and exported PDF (Microsoft Windows, Mac OS X)
* iOS Photos app - Saves edits made to photos on an iPhone/iPad losslessly as XMP embedded in the original JPEG.
* Lightroom
Adobe Lightroom (officially Adobe Photoshop Lightroom) is a piece of image organization and image manipulation software developed by Adobe Inc. as part of the Creative Cloud subscription family. It is supported on Windows, macOS, iOS, Android, ...
- Image management application and RAW developer. Uses XMP for non-destructive image manipulation and import/export of metadata (Microsoft Windows, Mac OS X)
* Microsoft Windows Vista - Photo Gallery saves tags to XMP (Microsoft Windows)
* Photo Mechanic
Photo Mechanic is a front-end photo ingesting, tagging, and browsing tool by Portland, Oregon-based company Camera Bits.
Photo Mechanic supports the initial capture of photos from the camera, previewing and making selections, and tagging each pho ...
- Reads and writes XMP directly into image files or into XMP sidecar files.
* Photoshop
Adobe Photoshop is a raster graphics editor developed and published by Adobe Inc. for Windows and macOS. It was originally created in 1988 by Thomas and John Knoll. Since then, the software has become the industry standard not only in ras ...
- can read/write XMP in supported images. Allows embedding of non standard XMP data through 'custom XMP panels' (Microsoft Windows, Mac OS X)
* PicaJet - Can read XMP for JPG, TIFF and DNG formats (Microsoft Windows).
* Picasa - Image organizer/viewer, uses XMP for face tagging (Microsoft Windows, Mac OS X, Linux)
* Portfolio - DAM software, can read/write XMP in supported file formats (Microsoft Windows, Mac OS X)
* Stibo STEP - DAM component reads/writes XMP for all supported formats
* Windows Imaging Component - Microsoft library for working with and processing digital images and image metadata (Microsoft Windows)
* Windows Live Photo Gallery
Windows Photo Gallery (formerly known as Windows Live Photo Gallery) is a discontinued image organizer, photo editor and photo sharing program. It is a part of Microsoft's Windows Essentials software suite. The product has been unavailable for ...
- a photo management and sharing application released as a part of Microsoft's Windows Live initiative. It is an upgraded version of Windows Photo Gallery, which is a part of Windows Vista.
* XnView
XnView is an image organizer and general-purpose file manager used for viewing, converting, organizing and editing raster images, as well as general purpose file management. It comes with built-in hex inspection, batch renaming and screen ...
- can read/write Exif
Exchangeable image file format (officially Exif, according to JEIDA/JEITA/CIPA specifications) is a standard that specifies formats for images, sound, and ancillary tags used by digital cameras (including smartphones), scanners and other syste ...
, IPTC and XMP information.
* Zoner Photo Studio - can read/write Exif
Exchangeable image file format (officially Exif, according to JEIDA/JEITA/CIPA specifications) is a standard that specifies formats for images, sound, and ancillary tags used by digital cameras (including smartphones), scanners and other syste ...
, IPTC and XMP information for DNG, JPEG, TIFF, HDP and various RAW files (Microsoft Windows).
The mainstream IPTC Information Interchange Model editing tools also support editing of XMP data.
Licensing
XMP is a registered trademark of Adobe Systems Incorporated.
The XMP specification became an ISO standard and is not proprietary anymore.
Initially, Adobe released source code for the XMP SDK under a license called the ''ADOBE SYSTEMS INCORPORATED — OPEN SOURCE LICENSE''. The compatibility
Compatibility may refer to:
Computing
* Backward compatibility, in which newer devices can understand data generated by older devices
* Compatibility card, an expansion card for hardware emulation of another device
* Compatibility layer, compon ...
of this license with the GNU General Public License
The GNU General Public License (GNU GPL or simply GPL) is a series of widely used free software licenses that guarantee end user
In product development, an end user (sometimes end-user) is a person who ultimately uses or is intended to ulti ...
has been questioned. The license is not listed on the list maintained by the Open Source Initiative
The Open Source Initiative (OSI) is the steward of the Open Source Definition, the set of rules that define open source software. It is a California public-benefit nonprofit corporation, with 501(c)(3) tax-exempt status.
The organization w ...
and is different from the licenses for most of their open source
Open source is source code that is made freely available for possible modification and redistribution. Products include permission to use the source code, design documents, or content of the product. The open-source model is a decentralized sof ...
software.
On May 14, 2007, Adobe released the XMP Toolkit SDK under a standard BSD license.[
On August 28, 2008, Adobe posted a public patent license for the XMP.] Adobe continues to distribute these documents under the ''XMP Specification Public Patent License''.[
]
History
XMP was first introduced by Adobe
Adobe ( ; ) is a building material made from earth and organic materials. is Spanish for '' mudbrick''. In some English-speaking regions of Spanish heritage, such as the Southwestern United States, the term is used to refer to any kind of ...
in April 2001 as part of the Adobe Acrobat 5.0 software product.
On June 21, 2004, Adobe announced its collaboration with the International Press Telecommunications Council. In July 2004, a working group led by Adobe Systems' Gunar Penikis and IPTC's Michael Steidl was set up, and volunteers were recruited from AFP (Agence France-Presse), Associated Press
The Associated Press (AP) is an American non-profit news agency headquartered in New York City. Founded in 1846, it operates as a cooperative, unincorporated association. It produces news reports that are distributed to its members, U.S. n ...
, ControlledVocabulary.com, IDEAlliance, Mainichi Shimbun
The is one of the major newspapers in Japan, published by
In addition to the ''Mainichi Shimbun'', which is printed twice a day in several local editions, Mainichi also operates an English language news website called ''The Mainichi'' (prev ...
, Reuters
Reuters ( ) is a news agency owned by Thomson Reuters Corporation. It employs around 2,500 journalists and 600 photojournalists in about 200 locations worldwide. Reuters is one of the largest news agencies in the world.
The agency was est ...
, and others, to develop the new schema.
The "IPTC Core Schema for XMP" version 1.0 specification was released publicly on March 21, 2005. A set of custom panels for Adobe Photoshop CS can be downloaded from the IPTC. The package includes a User's Guide, example photos with embedded XMP information, the specification document, and an implementation guide for developers. The "User's Guide to the IPTC Core" goes into detail about how each of the fields should be used and is also available directly as a PDF. The next version of the Adobe Creative Suite (CS2) included these custom panels as part of its default set.
The Windows Photo Gallery, released with Windows Vista
Windows Vista is a major release of the Windows NT operating system developed by Microsoft. It was the direct successor to Windows XP, which was released five years before, at the time being the longest time span between successive releases of ...
, offers support for the XMP standard, the first time Microsoft has released metadata compatibility beyond Exif
Exchangeable image file format (officially Exif, according to JEIDA/JEITA/CIPA specifications) is a standard that specifies formats for images, sound, and ancillary tags used by digital cameras (including smartphones), scanners and other syste ...
.
See also
* IPTC Information Interchange Model
* Resource Description Framework (RDF)
* Astronomy Visualization Metadata (AVM)
* Exchangeable Image File Format (Exif)
References
External links
Adobe XMP Main Page
XMP Specification
Creative Commons XMP Recommendation
Metadata section in the PDF 1.6 Language Reference
IPTC4XMP (IPTC Core) standard
Metadata Working Group provides guidance on metadata interoperability
{{Graphics file formats
ISO standards
Digital photography
Metadata
Open formats