ImageEn, unit imageenview

TIEChromaKeyOptions.KeyColor

TIEChromaKeyOptions.KeyColor


Declaration

property Color: TColor;


Description

The color of the Chroma-Key background. If clNone is used, the color will be guessed by analyzing the image.

Note: This property is not used for the iebfSmartEraser Brush Tool. KeyColor is set by an average of the click position

Default: clNone


Example

// Select subject in image with green background
ImageEnView1.ChromaKeyOptions.KeyColor := clGreen;
ImageEnView1.SelectChromaKey();
end;