summaryrefslogtreecommitdiffstats
path: root/src/driver
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2007-12-13 10:55:46 +0000
committerKore Nordmann <github@kore-nordmann.de>2007-12-13 10:55:46 +0000
commit01dbf33190addd6ddf305f981816ffe8cac0c0a1 (patch)
treee8e2161bfeee3319f3cf082f586f7824de89beb6 /src/driver
parent3957884f00e772d1c28b876fb03d1099aad15625 (diff)
downloadzetacomponents-graph-01dbf33190addd6ddf305f981816ffe8cac0c0a1.zip
zetacomponents-graph-01dbf33190addd6ddf305f981816ffe8cac0c0a1.tar.gz
- Fixed issue #12238: Graph doc error
Diffstat (limited to 'src/driver')
-rw-r--r--src/driver/gd.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/driver/gd.php b/src/driver/gd.php
index be2da37..27af2e4 100644
--- a/src/driver/gd.php
+++ b/src/driver/gd.php
@@ -28,8 +28,12 @@
* $graph->driver = new ezcGraphGdDriver();
* $graph->options->font = 'tutorial_font.ttf';
*
- * // Generate a Jpeg with lower quality. The default settings result in a
- * // better quality image
+ * // Generate a Jpeg with lower quality. The default settings result in a image
+ * // with better quality.
+ * //
+ * // The reduction of the supersampling to 1 will result in no anti aliasing of
+ * // the image. JPEG is not the optimal format for grapics, PNG is far better for
+ * // this kind of images.
* $graph->driver->options->supersampling = 1;
* $graph->driver->options->jpegQuality = 100;
* $graph->driver->options->imageFormat = IMG_JPEG;
OpenPOWER on IntegriCloud