102 September 2005 XMP Specification Embedding XMP Metadata in Application Files PSD (Adobe Photoshop) 5 PSD (Adobe Photoshop) Adobe Photoshop® .psd files contain image resource blocks, which are used to store non- pixel data associated with an image. The following table shows the format of an image resource block: For the Name and Data fields in the above table, “padded to make size even” means that an extra zero byte is appended to the “raw” field value, if necessary. Field Type Description Type OSType Photoshop always uses its signature, 8BIM. ID 2 bytes ID = 1060 for XMP metadata. Name PString A Pascal string, padded to make size even (that is, an extra zero byte is appended if needed). A null name consists of two bytes of 0. For Photoshop 7, XMP metadata uses a Name value of "XMP". Size 4 bytes Actual size of resource data. This does not include the Type, ID, Name, or Size fields. Data Variable Resource data, padded to make size even. This is the XMP Packet, which must be encoded as UTF-8.
Previous Page Next Page