Vcl.Imaging.pngimage.TPNGTransparencyMode

From RAD Studio API Documentation
Jump to: navigation, search


Delphi

TPNGTransparencyMode = (ptmNone, ptmBit, ptmPartial);

C++

enum DECLSPEC_DENUM TPNGTransparencyMode : unsigned char { ptmNone, ptmBit, ptmPartial };

Properties

Type Visibility Source Unit Parent
enum public
Vcl.Imaging.pngimage.pas
Vcl.Imaging.pngimage.hpp
Vcl.Imaging.pngimage Vcl.Imaging.pngimage

Description

TPNGTransparencyMode enumerates the possible supported transparency modes of a png image.

TPNGTransparencyMode enumerates the possible supported transparency modes of a png image. The following table lists the possible values and their meaning.



Value Meaning

ptmNone

The png image does not support transparency.

ptmBit

The png image supports bit transparency. This value is used if the png image has no alpha channel information, but defines a transparent color.

ptmPartial

The png image supports partial transparency. This value is used if the image supplies alpha channel information.