To make example working, download example.php and phpimage.inc.php
Next you mast have working SVG library (http://www.phpclasses.org/browse.html/package/457.html) in order to use SVG output. Please use SvgDocument.php included here to make svg class working (overwrite SvgDocument.php in svg class with this one).
And you must have GD2 installed
Next, see example and look for the output. If you don't have SVG plugin, you will see only JPEG and PNG image. To get plugin, go to http://www.adobe.com/svg
Next, write your own scripts. You can put your debug statements or html everywhere in your script. PHPImage will produce image data and header automaticaly (see example).
For comments and suggestions, please use mail macura@slu.cz
GOOD LUCK ! :)
|