diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2016-10-03 10:26:42 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2016-10-03 10:26:42 +0200 |
commit | ddf3b493f1921467e8f650ad4b861c33d1b658db (patch) | |
tree | 92328f1d63a7aca1fa519eb00e0d7b5137caf87c /src/gd.h | |
parent | 9a43a7b3fd99a162f593c6ce784ff4c2f2e03df8 (diff) | |
download | libgd-ddf3b493f1921467e8f650ad4b861c33d1b658db.tar.gz |
Fix color quantization documentation
Diffstat (limited to 'src/gd.h')
-rw-r--r-- | src/gd.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -257,7 +257,8 @@ BGD_DECLARE(int) gdLayerMultiply (int dest, int src); * Enum: gdPaletteQuantizationMethod * * Constants: - * GD_QUANT_DEFAULT - The default quantization method. + * GD_QUANT_DEFAULT - GD_QUANT_LIQ if libimagequant is available, + * GD_QUANT_JQUANT otherwise. * GD_QUANT_JQUANT - libjpeg's old median cut. Fast, but only uses 16-bit * color. * GD_QUANT_NEUQUANT - NeuQuant - approximation using Kohonen neural network. @@ -265,7 +266,7 @@ BGD_DECLARE(int) gdLayerMultiply (int dest, int src); * aiming for the highest quality at cost of speed. * * Note that GD_QUANT_JQUANT does not retain the alpha channel, and - * GD_QUANT_DEFAULT only does so if libimagequant is available. + * GD_QUANT_NEUQUANT does not support dithering. * * See also: * - <gdImageTrueColorToPaletteSetMethod> |