This project is read-only.

Hoe to convert svg to jpeg or PNG

Dec 8, 2010 at 10:49 AM

Hi friends,

using svg rendering engine how to convert an exsisting svg image to a jpeg or png.

Thanks in advance

Kiran

Jan 2, 2011 at 10:46 PM

Hi,

This should really be in the documentation, eh!

var sampleDoc = SvgDocument.Open(@"C:\sample.svg");
sampleDoc.Draw().Save(@"C:\sample.png");

There shouldn't be much more to it than that.

Scriv