ImageEn

IPTC items compatible with Adobe PhotoShop

Field Record Number DataSet Max Length (Chars) Notes
Object name PhotoShop_IPTC_Records (2) IPTC_PS_Title (5) 64  
Edit status PhotoShop_IPTC_Records (2) IPTC_PS_Edit_Status (7) 7  
Urgency PhotoShop_IPTC_Records (2) IPTC_PS_Urgency (10) 1 1 numeric character
Category PhotoShop_IPTC_Records (2) IPTC_PS_Category (15) 3  
Supplemental Category PhotoShop_IPTC_Records (2) IPTC_PS_Category_2 (20) 32  
Fixture Identifier PhotoShop_IPTC_Records (2) IPTC_PS_Fixture_Identifier (22) 32  
Keywords PhotoShop_IPTC_Records (2) IPTC_PS_Keywords (25) 64 per instance Multiple instances of field
Release Date PhotoShop_IPTC_Records (2) IPTC_PS_Release_Date (30)   CCYYMMDD date format
Release Time PhotoShop_IPTC_Records (2) IPTC_PS_Release_Time (35)   HHMMSS±HHMM time format
Special Instructions PhotoShop_IPTC_Records (2) IPTC_PS_Instructions (40) 256  
Reference Service PhotoShop_IPTC_Records (2) IPTC_PS_Reference_Service (45) 10  
Reference Date PhotoShop_IPTC_Records (2) IPTC_PS_Reference_Date (47)   CCYYMMDD date format
Reference Number PhotoShop_IPTC_Records (2) IPTC_PS_Reference_Number (50) 8  
Date Created PhotoShop_IPTC_Records (2) IPTC_PS_Date_Created (55)   CCYYMMDD date format
Time Created PhotoShop_IPTC_Records (2) IPTC_PS_Time_Created (60)   HHMMSS±HHMM time format
Originating Program PhotoShop_IPTC_Records (2) IPTC_PS_Originating_Program (65) 32  
Program Version PhotoShop_IPTC_Records (2) IPTC_PS_Program_Version (70) 10  
Object Cycle PhotoShop_IPTC_Records (2) IPTC_PS_Object_Cycle (75) 1 1 character: 'a' is morning, 'b' is evening and 'c' is both
By-line PhotoShop_IPTC_Records (2) IPTC_PS_Byline_1 (80) 32  
By-line Title PhotoShop_IPTC_Records (2) IPTC_PS_Byline_2 (85) 32  
City PhotoShop_IPTC_Records (2) IPTC_PS_City (90) 32  
Province/State PhotoShop_IPTC_Records (2) IPTC_PS_State_Province (95) 32  
Country/Primary Location Code PhotoShop_IPTC_Records (2) IPTC_PS_Country_Code (100) 3 3 characters, see ISO 3166
Country/Primary Location Name PhotoShop_IPTC_Records (2) IPTC_PS_Country (101) 64  
Original Transmission Reference PhotoShop_IPTC_Records (2) IPTC_PS_Transmission_Reference (103) 32  
Credit PhotoShop_IPTC_Records (2) IPTC_PS_Credit (110) 32  
Source PhotoShop_IPTC_Records (2) IPTC_PS_Source (115) 32  
Copyright Notice PhotoShop_IPTC_Records (2) IPTC_PS_Copyright_Notice (116) 128  
Caption/Abstract PhotoShop_IPTC_Records (2) IPTC_PS_Caption (120) 2000 max 2000 characters, carriage-returns, linefeeds and spaces are permitted
Writer/Editor PhotoShop_IPTC_Records (2) IPTC_PS_Writer (122) 32  
Image Type PhotoShop_IPTC_Records (2) IPTC_PS_Image_Type (130) 2 2 characters, see IIMV4 specifications

For a list of all IPTC items, see the IPTC - NAA Information Interchange Model Version 4 (October 1997). Download the pdf manual from www.iptc.org


Examples

// Clear all IPTC keywords of a file
ImageEnIO1.Params.ClearIPTCField(PhotoShop_IPTC_Records, IPTC_PS_Keywords);

// Read the Photoshop description
sDescription := ImageEnIO1.Params.ReadIPTCField(PhotoShop_IPTC_Records, IPTC_PS_Caption);

// Read all the Photoshop keywords (comma-separated):
sKeywords := ImageEnIO1.Params.ReadIPTCField(PhotoShop_IPTC_Records, IPTC_PS_Keywords);

// Add all Photoshop keywords to a Listbox:
ImageEnIO1.Params.ReadIPTCField(PhotoShop_IPTC_Records, IPTC_PS_Keywords, MyListBox.Items);

// Write the Photoshop description:
ImageEnIO1.Params.WriteIPTCField(PhotoShop_IPTC_Records, IPTC_PS_Caption, sDescription);

// Write the Photoshop keywords (in a comma-separated string):
ssList := TStringList.create;
ssList.DelimitedText := sKeywords;
ImageEnIO1.Params.WriteIPTCField(PhotoShop_IPTC_Records, IPTC_PS_Keywords, ssList);
ssList.Free;