ChartDirector Ver 4.1 (ColdFusion Edition)
DrawArea.setPaletteMode
Usage
Description
Constant | Value | Description |
---|---|---|
TryPalette | 0 | Use palette mode if the image contains less than 256 colors, otherwise use true color mode. This is the default. |
ForcePalette | 1 | Use palette mode. If the image contains more than 256 colors, reduce it to 256 colors using dithering (see DrawArea.setDitherMethod). |
NoPalette | 2 | Use true color mode. |
Arguments
Argument | Default | Description |
---|---|---|
p | (Mandatory) | The palette mode for PNG images. |
Return Value