DBPix Documentation
Version 2.0

ImagePaletteMethod Property


Description:  Controls the palette creation method to be used if color-depth reduction is required to encode an image.
Type:  Number (enum/short)
Read/Get
Write/Set:
  
 
 
Remarks:  

This configuration property sets palette creation method that will be used if a high color image is to be stored in a lower color-depth.  See also ImageDitherMethod.

ConstantValueDescription
PalGenMedianCut0Builds the new palette using the  median-cut algorithm.
PalGenPopularitySort1Builds the new palette using the  popularity sort algorithm.
PalGenDefaultPalette2Builds the new palette a default palette.
PalGenNeuQuantBest3Builds the new palette using neural network quantization (best quality/slowest).
PalGenNeuQuantMiddle4Builds the new palette using neural network quantization (medium quality/average speed).
PalGenNeuQuantWorst5Builds the new palette using neural network quantization (low quality/fastest). 

 

 

Documentation version 2.0.0