summaryrefslogtreecommitdiff
path: root/src/gd.h
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2016-10-03 10:26:42 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2016-10-03 10:26:42 +0200
commitddf3b493f1921467e8f650ad4b861c33d1b658db (patch)
tree92328f1d63a7aca1fa519eb00e0d7b5137caf87c /src/gd.h
parent9a43a7b3fd99a162f593c6ce784ff4c2f2e03df8 (diff)
downloadlibgd-ddf3b493f1921467e8f650ad4b861c33d1b658db.tar.gz
Fix color quantization documentation
Diffstat (limited to 'src/gd.h')
-rw-r--r--src/gd.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gd.h b/src/gd.h
index f9421eb..8be9133 100644
--- a/src/gd.h
+++ b/src/gd.h
@@ -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>