TPNGImage help

PNG Delphi

Components > TPNGObject > Properties > TransparentColor


Sets bit transparent color for the png image.

property
TransparentColor: TColor;
property
TransparentColor: ColorRef;

Description

Use this property to change the bit transparency color for png images.

Note
Setting bit transparent color is not allowed for images already containing alpha information for each bit.  Check header property ColorType (COLOR_RGBALPHA and COLOR_GRAYSCALEALPHA are not allowed).