ImageEn, unit iexBitmaps

TIEICC


Declaration

TIEICC = class;


Description

TIEICC class contains a color profile. It is used for loading an image ICC profile and for displaying the ICC profile (which is sRGB by default).

Note: several constants are defined in ielcms unit.


Examples

// Load image and apply a color profile
ImageEnView1.IO.Params.DefaultICCProfile.LoadFromFile('C:\Windows\System32\spool\drivers\color\AdobeRGB1998.icc');
ImageEnView1.IO.LoadFromFile('C:\input.tif');

// Save a JPEG with the ICC profile, sRGB2014.icc
ImageEnView1.IO.LoadFromFile( 'D:\201849018_A1.jpg' );
ImageEnView1.IO.params.InputICCProfile.LoadFromFile('D:\sRGB2014.icc');
ImageEnView1.IO.SaveToFile( 'D:\Test_SRGB.jpg' );

// Apply InputICCProfile (AdobeRGB1998.icc) color profile to an image and output as OutputICCProfile (Defaults to sRGB)
// Note: This permanently changes the colors of the image
ImageEnView1.IO.LoadFromFile('C:\out.ppm');
ImageEnView1.IO.Params.InputICCProfile.LoadFromFile('C:\AdobeRGB1998.icc');
ImageEnView1.IO.Params.InputICCProfile.ConvertBitmap( ImageEnView1.IEBitmap, ie24RGB, ImageEnView1.IO.Params.OutputICCProfile );


Methods and Properties

Public Method  Apply
Public Method  Apply2
Public Method  Assign_AdobeRGB1998
Public Method  Assign_CMYKProfile
Public Method  Assign_LabProfile
Public Method  Assign_LabProfileD50
Public Method  Assign_LabProfileFromTemp
Public Method  Assign_sRGBProfile
Public Method  Assign_XYZProfile
Public Method  Assign
Public Method  CheckTransform
Public Method  Clear
Public Method  ConvertBitmap
Public Property  Copyright
Public Property  Description
Public Method  FreeTransform
Public Property  InputColorSpace
Public Property  OutputColorSpace
Public Method  InitTransform
Public Property  IsApplied
Public Method  IsValid
Public Method  LoadFromBuffer
Public Method  LoadFromFile
Public Method  LoadFromStream
Public Method  SaveToStream
Public Method  Transform


See Also

- Color Management System
- InputICCProfile
- DefaultICCProfile
- OutputICCProfile
- EnableCMS
- ApplyColorProfileOnRendering
- ColorProfile