Home All Groups Group Topic Archive Search About
Author
10 May 2006 7:54 PM
neilsanner
Hi,

Is there a way/library to convert a file in SVG format to PNG?

neilsanner

Author
11 May 2006 9:43 PM
glennrp
inkscape
Author
12 May 2006 1:50 PM
neilsanner
Thanks for the idea.

I was looking for a more automated way via programming though. I know
that inkscape can be used with command line, but It needs to be
installed on the computer first, which is a bit cumbersome for end
users of the program I'm writing.

Here's some clues I've found:
-SharpVectorGraphics: For which I've succeed to export a .PNG, but it
wasn't the right image resolution and there was extra "white" around
the exported image. I'm pretty sure I could get a good hold on it with
several more hours. The documentation is non existing to my
knowledge...
-ImageMagickObject: Great but their svg rasterizing implementation is
still in development, which means it didn't rasterized my svg very
well: Missing parts from the graphics.
-batik: Nice command line utility. We can create a .bat file
programmatically and call it from VB. We need Java installed on the
machine. We need to copy the batik folder somewhere on the end user
computer.

neilsanner

glen***@gmail.com wrote:
Show quoteHide quote
> inkscape