ImageEn, unit iexBitmaps

IEFileTypeSupportsInfo


Declaration

function IEFileTypeSupportsInfo(FT: TIOFileType): TIEMetaInfoItems; overload;
function IEFileTypeSupportsInfo(const Filename: string): TIEMetaInfoItems; overload;


Description

Returns the types of meta-data that are supported by the specified file or file type.
The second overload uses the file extension to determine the file type.
The image may not contain this meta data (use ContainsInfo for that), just indicates that the file type supports it.

Result will be a set containing zero or more of the following items:
Value Description Supported File Types
ierAnnotations File type supports ImageEnAnnot or ImagingAnnot ioJPEG, ioTIFF
ierDicomTags File type supports DICOM_Tags ioDICOM
ierEXIF File type supports EXIF Tags ioJPEG, ioTIFF, ioPSD, ioHDP, ioRAW
ierICC File type supports an InputICCProfile ioJPEG, ioTIFF, ioPSD
ierIPTC File type supports IPTC_Info ioJPEG, ioTIFF
ierJPEGMarkers File type supports JPEG Markers ioJPEG
ierXMP File type supports XMP_Info ioJPEG, ioTIFF, ioPSD
ierOtherTextMeta File type supports string data from the following fields: GIF_Comments, PNG_TextKeys, PNG_TextValues, TIFF_DocumentName, TIFF_ImageDescription, TIFF_PageName, IEN_Description, PDF Properties, TGA_Author, TGA_Descriptor, TGA_ImageName, PXM_Comments ioGIF, ioPNG, ioTIFF, ioTGA, ioPXM

Note: This is the same as using SupportsInfo


Example

btnEditDicomFields.Enabled := ierDicomTags in IEFileTypeSupportsInfo( Filename );