News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevX.com:
Add the Graphics Power of SVG to PHP
February 26, 2008 @ 10:44:00

In this DevX tutorial, Octavia Anghel shows how use PHP to create images based on the SVG libraries available to any browser.

Scalable Vector Graphics (SVG) is an XML specification for producing vector-based graphic content that you can create, modify, and manipulate dynamically from programming languages. Here, you'll explore the most important techniques and libraries for integrating SVG with PHP to create diverse graphic content'"from simple shapes to complex graphs.

They show a few different ways to get the job done including a straight 'echo' call with the output, sending a converted SVG document over with a PHP header or including another (or multiple) SVG documents into another and outputting them. They also talk about tools like the phpHtmlLib library, the PEAR::XML_SVG package and the PEAR::Image_Canvas package.

0 comments voice your opinion now!
svg graphic tutorial echo output include dynamic


blog comments powered by Disqus

Similar Posts

IBM developerWorks: Building the DB2 Health Monitor Sample Application for PHP (Part 2)

Rob Allen's Blog: Using Zend\Loader\Autoloader

Sebastian Bergmann's Blog: php|works 2006

DevShed: The Sleep and Wakeup Magic Functions in PHP 5

PHPBuilder.com: Transferring Huge XML Documents in PHP with an Ajax-driven Web Interface


Community Events

Don't see your event here?
Let us know!


library api introduction opinion laravel5 development video series release laravel podcast unittest framework psr7 extension community language interview voicesoftheelephpant conference

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework