ImageEn, unit iexBitmaps

TIEICC.IsValid

TIEICC.IsValid

Declaration

property IsValid: Boolean;

Description

Returns True if the currently loaded ICC profile is valid.

Example

// If the image has a valid color profile (for rendering) then display its information
if ImageEnView1.IEBitmap.ColorProfile.IsValid then
begin
  lblICCDescription     .Caption := 'Description:' + string( ImageEnView1.IEBitmap.ColorProfile.Description );
  lblICCCopyright       .Caption := 'Copyright:' + string( ImageEnView1.IEBitmap.ColorProfile.Copyright );
  lblICCInputColorSpace .Caption := 'Input Color Space:' + string( ImageEnView1.IEBitmap.ColorProfile.InputColorSpace );
  lblICCOutputColorSpace.Caption := 'Output Color Space:' + string( ImageEnView1.IEBitmap.ColorProfile.OutputColorSpace );
end;