Re: Basic question - PHP usage of SVG files
| From: | Casey | Date: | Wed, 21 Nov 2007 03:58:17 +0000 |
| Subject: | Re: Basic question - PHP usage of SVG files | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-264890@lists.php.net to get a copy of this message | ||
On Nov 20, 2007 7:24 PM, Dave M G <martin@autotelic.com> 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
> images to PNG before manipulating them in PHP.
>
> However, I'd like to preserve line quality by keeping them as SVG until
> the last moment.
>
> I can't see on the online documentation if SVG is supported and if it
> requires different commands than raster image formats.
>
> What is the support for SVG in PHP, and where is the online
> documentation for it?
>
> Thank you for your help.
>
> --
> Dave M G
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
There is no SVG support in PHP, as far as I know. However, since SVG's
are XML's, you could extract the contents of <svg> in both files and
merge them together.
-Casey