You will need to load the SVG into memory into a XElement then remove the nodes marked with 'delete' and then write the XElement to a memorystream. You can then feed this to Magick.NET to convert the SVG image to a PNG file.
↧