summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorKore Nordmann <github@kore-nordmann.de>2007-06-28 14:01:04 +0000
committerKore Nordmann <github@kore-nordmann.de>2007-06-28 14:01:04 +0000
commitb52477901b1e78c0d72540ff86f051fd3c99b288 (patch)
tree190a54493dfe5df09cdc2e5f8b1f1034c0fd8198 /docs
parentf5fe27c5429a3f548d39c42042833db109d4bb0d (diff)
downloadzetacomponents-graph-b52477901b1e78c0d72540ff86f051fd3c99b288.zip
zetacomponents-graph-b52477901b1e78c0d72540ff86f051fd3c99b288.tar.gz
- Added notes on SVG to PNG conversion
Diffstat (limited to 'docs')
-rw-r--r--docs/tutorial.txt36
1 files changed, 36 insertions, 0 deletions
diff --git a/docs/tutorial.txt b/docs/tutorial.txt
index 517abda..7234201 100644
--- a/docs/tutorial.txt
+++ b/docs/tutorial.txt
@@ -982,6 +982,42 @@ pie chart in your generated bitmap`__.
__ img/tutorial_reference_gd.html
+SVG to bitmap conversion
+------------------------
+
+If you want to benefit from the more beautiful SVG output you may convert the
+vector graphics to a bitmap format, like PNG or JPEG, on the server side.
+There are several tools capable to do so, but for each you need the
+possibility to execute commands using the exec() function family.
+
+- librsvg
+ Small memory footprint and advanced SVG support, including filters (which
+ are not used by ezcGraph, though). Example command to convert an image:
+
+ ::
+
+ rsvg input.svg output.png
+
+- imagemagick
+ Installed on most servers out there, but has some issues with transparent
+ backgrounds in SVG documents. Example command with image magick:
+
+ ::
+
+ convert -background none input.svg output.png
+
+- Inkscape
+ Not available on most servers, but perfect for modifying SVG documents on
+ unix and windows. Requires X to install, but can be run on CLI, too:
+
+ ::
+
+ inkscape input.svg -e output.png
+
+All three converts can also export to PDF or postscript, and resize the
+document, if wanted. For further details please read the documentation of the
+respective tool.
+
Direct output
=============
OpenPOWER on IntegriCloud