ImageEn, unit iesettings

TIEGlobalSettings.ApplyColorProfileOnRendering

TIEGlobalSettings.ApplyColorProfileOnRendering


Declaration

property ApplyColorProfileOnRendering: Boolean;


Description

Applies ColorProfile when the image is displayed.

Note: ApplyColorProfileOnRendering has no effect unless NativePixelFormat is enabled and the PixelFormat is ieCMYK

Default: True


Examples

// Apply color profile on rendering
IEGlobalSettings().ApplyColorProfileOnRendering := True;  // not actually necessary, this is the default
ImageEnView1.IO.NativePixelFormat := True;  // This means "Do not convert to RGB"
ImageEnView1.IO.LoadFromFile('cmyk-jpeg.jpg');

// Apply color profile before rendering
IEGlobalSettings().EnableCMS := True;
IEGlobalSettings().ApplyColorProfileOnRendering := False;
ImageEnView1.IO.NativePixelFormat := False; // This means "Convert to RGB"
ImageEnView1.IO.LoadFromFile('cmyk-jpeg.jpg');

// Do not apply color profile
IEGlobalSettings().EnableCMS := False;
IEGlobalSettings().ApplyColorProfileOnRendering := False;
ImageEnView1.IO.NativePixelFormat := False; // This means "Convert to RGB"
ImageEnView1.IO.LoadFromFile('cmyk-jpeg.jpg');


See Also

 EnableCMS
 Color Management System
 ColorProfile