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

2007-11-24 Thread tedd
At 1:14 PM +0900 11/24/07, Dave M G wrote: Larry, Thanks for your advice. With the XML editor available within PHP, I've made a small script that can extract the point data inside an SVG file, and store them as an array of points. That array can then be used to draw and fill shapes in a PNG

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

2007-11-23 Thread Dave M G
Larry, Thanks for your advice. With the XML editor available within PHP, I've made a small script that can extract the point data inside an SVG file, and store them as an array of points. That array can then be used to draw and fill shapes in a PNG image. And since they are stored as an arr

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

2007-11-21 Thread Larry Garfield
On Wednesday 21 November 2007, Dave M G wrote: > Larry, > > Thank you for responding. > > > I think you missed the point. SVG is just text. ... There's no need > > for SVG support per se, as SimpleXML provides all you need anyway. > > I did miss the point - thanks for setting me straight. > > Howe

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

2007-11-21 Thread Dave M G
Larry, Thank you for responding. I think you missed the point. SVG is just text. ... There's no need for SVG support per se, as SimpleXML provides all you need anyway. I did miss the point - thanks for setting me straight. However, I'm still unsure about using SVGs. On the one hand, what I

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

2007-11-21 Thread Larry Garfield
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 funct

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

2007-11-21 Thread Dave M G
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. -- Dave M G -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2007-11-20 Thread Casey
On Nov 20, 2007 7:24 PM, Dave M G <[EMAIL PROTECTED]> wrote: > PHP list, > > I have some images that are in SVG format. What I want to do with them > is manipulate them by resizing and overlaying one on top of the other. > > I do this frequently with PNG images, and I could first convert these > im

[PHP] Basic question - PHP usage of SVG files

2007-11-20 Thread Dave M G
PHP list, I have some images that are in SVG format. What I want to do with them is manipulate them by resizing and overlaying one on top of the other. I do this frequently with PNG images, and I could first convert these images to PNG before manipulating them in PHP. However, I'd like to p