1
Vote

Svg issue

description

Trying to convert an svg file to jpg. The jpg file comes out black color. Here is the code I am using
            SvgDocument sample = SvgDocument.Open(@"c:\Kyle\ProcessXml\test.svg");
             sample.Draw().Save(@"c:\Kyle\ProcessXml\test4.jpg", ImageFormat.Jpeg);
If anybody can help me, it would be appreciated.

Thanks
Elliot

comments

tony57 wrote Dec 7, 2015 at 2:54 PM

I included all the source code.

tony57 wrote Dec 7, 2015 at 9:32 PM

Got it to work. Thanks.

CrashKonijn wrote Nov 17, 2016 at 12:53 PM

Hey Tony57,

I'm having the same problem, how did you fix this?

Regards,
Peter