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 array, I can do a little math on them to manipulate their scale and whatnot.

The interpolation between points gets lost with this method, but in this case, I can get by with straight lines.

Thanks for helping me to see the value in using PHP's XML functions.

--
Dave M G

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

Reply via email to