News Feed
Sections
News Archive


Community Events
php|tek 2008 PHP Conference



feed this:

DevX.com:
Add the Graphics Power of SVG to PHP
0 comments :: posted Tuesday February 26, 2008 @ 10:44:00
voice your opinion now!

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.

tagged with: svg graphic tutorial echo output include dynamic



package job PHP5 releases security application pecl code conference PEAR mysql ajax zendframework release cakephp framework book zend developer database

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