Re: Basic question - PHP usage of SVG files [SOLVED]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wednesday 21 November 2007, Dave M G wrote:
> Casey,
>
> > There is no SVG support in PHP, as far as I know.
>
> Thank you. That clears things up. I'll just go with PNGs then.

I think you missed the point.  SVG is just text.  It's XML.  You can 
manipulate it with SimpleXML or the DOM API functions just as you would any 
other XML file.  It's been a while since I worked with SVG, but I believe you 
can resize an image just by changing an attribute or two.  There's no need 
for SVG support per se, as SimpleXML provides all you need anyway.  That's 
the advantage of XML. :-)

-- 
Larry Garfield			AIM: LOLG42
larry@xxxxxxxxxxxxxxxx		ICQ: 6817012

"If nature has made any one thing less susceptible than all others of 
exclusive property, it is the action of the thinking power called an idea, 
which an individual may exclusively possess as long as he keeps it to 
himself; but the moment it is divulged, it forces itself into the possession 
of every one, and the receiver cannot dispossess himself of it."  -- Thomas 
Jefferson

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux