DBPix Documentation
Version 2.0

PNGColorDepth Property


Description:  Selects the color-depth for saving images in PNG format when ImageSaveFormat is ImageSaveFormatPNG (1).
Type:  Number (enum/short)
Read/Get
Write/Set:
  
 
 
Remarks:  

ConstantValueDescription
PNGColorDepth_Original0Retains the color depth of the original image (default).


If the ImageSaveFormat property is set to ImageSaveFormatPNG (1) then this property determines the color-depth of the PNG image. 
Currently PNGColorDepth_Original is the only supported setting: this setting preserves the original color-depth of the image. 
DBPix can save PNG images in 1, 2, 4, and 8 bit grayscale, 1, 2, 4, and 8 bit indexed (palletized), and 24 bit color.

 

 

Documentation version 2.0.0