ImageEn, unit iexBitmaps

TIOParams.ContainsInfo

TIOParams.ContainsInfo


Declaration

function ContainsInfo(): TIEMetaInfoItems;


Description

Returns the types of meta-data within the current image.
You can use ResetInfo to clear meta-data from your file.

Result will be a set containing zero or more of the following items:
Value Description
ierAnnotations File contains ImageEnAnnot or ImagingAnnot
ierDicomTags File contains DICOM_Tags
ierEXIF File contains EXIF Tags
ierICC File contains an InputICCProfile
ierIPTC File contains IPTC_Info
ierJPEGMarkers File contains JPEG Markers
ierXMP File contains XMP_Info
ierOtherTextMeta File contains string data from the following fields: GIF_Comments, PNG_TextKeys, PNG_TextValues, TIFF_DocumentName, TIFF_ImageDescription, TIFF_PageName, TGA_Author, TGA_Descriptor, TGA_ImageName, PXM_Comments


Examples

if ierDicomTags in ImageEnView1.IO.Params.ContainsInfo() then
  ShowMessage('File contains Dicom Tags');

if ierICC in ImageEnView1.IO.Params.ContainsInfo() then
  ShowMessage( 'ICC Profile: ' + ImageEnView1.IO.Params.InputICCProfile.InputColorSpace )
else
  ShowMessage('ICC Profile: None');