ImageEn, unit iexBitmaps

TIOParams.GIF_TranspColor

TIOParams.GIF_TranspColor

Declaration

property GIF_TranspColor: TRGB;

Description

Specifies the transparency color.

Note:
Only valid if GIF_FlagTranspColor = True
The specified color should exist within the image

Default: (0, 0, 0), i.e. Black

Example

// Set GIF transparency color
ImageEnView1.IO.Params.GIF_FlagTranspColor := True;
ImageEnView1.IO.Params.GIF_TranspColor := CreateRGB(0, 0, 0);  // black is the transparent color

See Also

GIF_FlagTranspColor
CreateRGB
IERGBToColor
IEColorToRGB