ImageEn, unit iesettings

TIEImageEnGlobalSettings.ApplyColorProfileOnRendering

TIEImageEnGlobalSettings.ApplyColorProfileOnRendering


Declaration

property ApplyColorProfileOnRendering: Boolean;


Description

Applies ColorProfile when the image is displayed.

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