Hi!
Im having a though time finding an system INDEPENDEND way to export svg files to png.
So I ended up with the (really stupid)Idea to port the export function of Inscape to php.
Anyone got an better solution?
Or an idea where to look in the Api?
Id be gratefull for ANY hint/sugestion
thx4help
PS:looking up google and the forum didn´t help, but if you have any suggestions where to find a matching thread
(or even a good keyword to look 4) you could help me alot
php port
Re: php port
tortoise wrote:Im having a though time finding an system INDEPENDEND way to export svg files to png.
…
Anyone got an better solution?
If by "system independent" you mean web-based, you'll find ImageMagick supports coverting SVG's to PNG and is available on most web servers. You can use PHP to interface to it. I believe it's impossible to use PHP to create binary image files (i.e. PNG), without ImageMagick or the GD library, as you may have intended.
Note that SVG, like HTML, has varying support across pretty much all renderers - meaning if you draw something with Inkscape then convert it to PNG with ImageMagick it may look different.
Re: php port
Batik is so far the most feature complete SVG renderer. It's open source (Apache License) and written in Java.
Re: php port
great
thats exactly what I need. It is pointless to write system independant aps
(that CAN be used for web based applications ) if you use external system dependant tools
thats exactly what I need. It is pointless to write system independant aps
(that CAN be used for web based applications ) if you use external system dependant tools