ChartDirector 5.1 (PHP Edition)
DrawArea.reduceColors
Usage
Description
Arguments
Argument | Default | Description |
---|---|---|
colorCount | (Mandatory) | The maximum number of colors that image should have after after reduction. Must be between 16 - 256. |
blackAndWhite | false (zero) | A true (non-zero) value means the image will be converted to black and white (with grey levels). A false (zero) value means the image will not be converted to black and white. |
Return Value