ImageEn, unit iexBitmaps

TIEIPTCInfoList


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


Methods and Properties

Public Method  AddBufferItem
Public Method  AddStringItem
Public Method  Assign
Public Method  Clear
Public Property  Count
Public Property  DataSet
Public Method  DeleteItem
Public Method  GetItemData
Public Method  GetItemLength
Public Method  IndexOf
Public Method  InsertStringItem
Public Method  LoadFromStandardBuffer
Public Method  LoadFromStream
Public Method  RecordNumber
Public Method  SaveToStandardBuffer
Public Method  SaveToStream
Public Property  StringItem


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');