summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/tutorial/tutorial_driver_gd.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/tutorial/tutorial_driver_gd.php b/docs/tutorial/tutorial_driver_gd.php
index 131ccf8..dc9e7c7 100644
--- a/docs/tutorial/tutorial_driver_gd.php
+++ b/docs/tutorial/tutorial_driver_gd.php
@@ -10,6 +10,8 @@ $graph->legend = false;
$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
$graph->driver->options->supersampling = 1;
$graph->driver->options->jpegQuality = 100;
$graph->driver->options->imageFormat = IMG_JPEG;
OpenPOWER on IntegriCloud