Declaration
TIEIPTCInfoList = class;
Description
A list of all the IPTC information contained in a file. It is available via the
TImageEnIO property
Params.IPTC_Info
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
// 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');