Open
Description
Description
Fonts wont be translated into the PNG file. The PNG File will contain an empty image.
Example data
using (var stream = new MemoryStream(filenameSvg))
{
var svgDocument = SvgDocument.Open<SvgDocument>(stream);
var bitmap = svgDocument.Draw();
bitmap.Save(filenamePng, System.Drawing.Imaging.ImageFormat.Png);
}
Used Versions
SVG 3.4.1
.NET 6.0.3
Windows 10 21H1