diff options
author | Kore Nordmann <github@kore-nordmann.de> | 2007-12-13 10:55:46 +0000 |
---|---|---|
committer | Kore Nordmann <github@kore-nordmann.de> | 2007-12-13 10:55:46 +0000 |
commit | 01dbf33190addd6ddf305f981816ffe8cac0c0a1 (patch) | |
tree | e8e2161bfeee3319f3cf082f586f7824de89beb6 | |
parent | 3957884f00e772d1c28b876fb03d1099aad15625 (diff) | |
download | zetacomponents-graph-01dbf33190addd6ddf305f981816ffe8cac0c0a1.zip zetacomponents-graph-01dbf33190addd6ddf305f981816ffe8cac0c0a1.tar.gz |
- Fixed issue #12238: Graph doc error
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | docs/tutorial/tutorial_driver_gd.php | 8 | ||||
-rw-r--r-- | src/driver/gd.php | 8 |
3 files changed, 13 insertions, 4 deletions
@@ -1,6 +1,7 @@ 1.2 - [RELEASEDATE] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +- Fixed issue #12238: Graph doc error - Fixed issue #12246: Graph: dataBorder doesn't works in 2d renderer for piecharts diff --git a/docs/tutorial/tutorial_driver_gd.php b/docs/tutorial/tutorial_driver_gd.php index dc9e7c7..cfa86fa 100644 --- a/docs/tutorial/tutorial_driver_gd.php +++ b/docs/tutorial/tutorial_driver_gd.php @@ -10,8 +10,12 @@ $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 +// 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; 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; |