ImageEn, unit iexBitmaps

TIOParams.GIF_FlagTranspColor

TIOParams.GIF_FlagTranspColor


Declaration

property GIF_FlagTranspColor: boolean;


Description

If enabled then the GIF_TranspColor property specifies the transparency color of the image. If false, GIF_TranspColor is not valid.

Note: If the image contains an alpha channel (transparency channel) this property is handled automatically when saving.

Default: False


Example

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