Convert SVG to PNG

  • Thread starter Thread starter neilsanner
  • Start date Start date
N

neilsanner

Hi,

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

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top