News Feed
Sections




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

PHPBuilder.com:
Using PHP for the Creation of SVG Images
December 04, 2008 @ 09:37:57

On the PHPBuilder.com site today there's a new tutorial talking about using PHP to dynamically create SVG images in a simple application.

As with many of the pages on my Web site, my SVG images are in fact generated by PHP scripts. I end up including many of the same images in other pages, but not always with the same size or colors, so making them customizable on a case-by-case basis is a useful thing. Attributes such as size, scale, colour, rotation, and position are obtained from arguments in the URL.

His example creates a SVG image using a class (UIControl) to create the content for the image. This content is dropped into the typical XML structure to display it. He also includes some extra attributes/methods you can use with the UIControl class to alter the resulting image.

0 comments voice your opinion now!
svg image create dynamic tutorial example


blog comments powered by Disqus

Similar Posts

PHPBuilder.com: Building RESTful APIs with the Slim Microframework

Giorgio Sironi's Blog: PHPUnit and Phing cohabitation

Klaus Graefensteiner's Blog: Getting Wordpress installed in a jiffy on Windows 7 using the WPI

Jared White's Blog: Willowgarden Highlight: Easy Processing of Form Input

SitePoint PHP Blog: PINQ Querify Your Datasets Faceted Search


Community Events

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


version community extension security opinion podcast library voicesoftheelephpant laravel5 api list framework language php7 release interview series introduction laravel example

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