Page 1 of 1
Can I convert svg to png?
Posted: 2009-09-12T03:13:05-07:00
by exx8
Can I convert svg to png with imagick?
Re: Can I convert svg to png?
Posted: 2009-09-13T13:57:22-07:00
by magick
Yes.
Re: Can I convert svg to png?
Posted: 2009-09-16T07:43:24-07:00
by exx8
How can I?
Re: Can I convert svg to png?
Posted: 2009-09-16T07:59:37-07:00
by magick
We can't write code for you. For the conversion to work you simply read image.svg and write image.png. Its about 5 lines of code.
Re: Can I convert svg to png?
Posted: 2009-09-16T09:44:00-07:00
by exx8
magick wrote:We can't write code for you. For the conversion to work you simply read image.svg and write image.png. Its about 5 lines of code.
I know php, just I don't know this libary well
Can you tell me which function load svg image?
Re: Can I convert svg to png?
Posted: 2009-09-16T10:29:31-07:00
by magick
Have you read
http://php.net/imagick? Use Imagick::readImage().
Re: Can I convert svg to png?
Posted: 2009-09-17T13:13:28-07:00
by exx8
http://www.php.net/manual/en/function.i ... dimage.php
There is no a lot of information there.
Which formats can I read with that function?
Re: Can I convert svg to png?
Posted: 2009-09-17T16:44:03-07:00
by magick
See
http://www.imagemagick.org/script/formats.php for a list of image formats supported by ImageMagick.