Declaration
property IPTC_Info: TIEIPTCInfoList;
Description
A list of all IPTC information contained in a file. View object details at
TIEIPTCInfoList.
IPTC records can contains text, objects and images. Applications can read/write information from IPTC_Info using string objects or a memory buffer.
Each IPTC_Info item has a record number and a dataset number. These values specify the type of data contained in the item, according to IPTC - NAA Information Interchange Model Version 4 (See:
www.iptc.org).
For JPEG files ImageEn can read/write IPTC fields from the APP13 marker.
ImageEn can also read/write IPTC textual information of PhotoShop (access In Photoshop under "File Info"). View a list
IPTC Photoshop items.
Note: You can output all fields using
WriteTo
Demo
| Demos\InputOutput\IPTC\IPTC.dpr |
Examples
// Read the PhotoShop image description
ImageEnView1.IO.LoadFromFile('C:\image.jpg');
idx := ImageEnView1.IO.Params.IPTC_Info.IndexOf(2, 120);
Caption := ImageEnView1.IO.Params.IPTC_Info.StringItem[idx];
// Write the image description
ImageEnView1.IO.Params.IPTC_Info.StringItem[idx] := 'This is the new caption';
ImageEnView1.IO.SaveToFile('D:\Image.jpg');
See Also
◼Photoshop IPTC Constants
◼IPTC_Photoshop
◼ReadIPTCField
◼WriteIPTCField
◼ClearIPTCField