Property: ColorDepth

(TSaveFmx2D_Png)

Specifies the color depth of a Portable Network Graphics (PNG) format file for TSaveFmx2D_Png component.

Syntax:

type

{ Defined in the pfmxSave2D_Png unit }

TPngColorDepth = (pcdIndex_1, pcdIndex_2, pcdIndex_4, pcdIndex_8, pcdRGB_8, pcdRGBA_8);

property ColorType: TPngColorType;

Description:

Color depth, also known as bit depth, pixel format, is either the number of bits used to indicate the color of a single pixel. In a Portable Network Graphics (PNG) file, the pixels can be defined by a varying number of bits. The property specifies which color depth will be used to save a barcode symbol to a Portable Network Graphics (PNG) file. It can be one of these value (defined in the pfmxSave2D_Png unit):

Contents