ImageEn, unit iesettings

TIEGlobalSettings.RedToGrayCoef

TIEGlobalSettings.RedToGrayCoef


Declaration

property RedToGrayCoef: integer;


Description

Specify the red coefficient used to convert from color to gray scale. The conversion formula is:
gray := (Red * RedToGrayCoef + Green * GreenToGrayCoef + Blue * BlueToGrayCoef) div 100;

Defaults: 21 (Red), 71 (Green) and 8 (Blue)