SVG to PNG: Improper output and quality issue (C# .N ET)

Dear support,

we want to print SVGs created with to PDFs or word documents. In aspose-words there is currently a rendering problem with the arrows.

So we tried out converting svg to png with aspose-imaging 19.4. Unfortunately the resulting PNG looks worse.

test aspose.png

This is how we converted the SVG:

private InputStream renderWithAspose(InputStream inputStream) throws IOException {

	com.aspose.imaging.fileformats.svg.SvgImage image = (com.aspose.imaging.fileformats.svg.SvgImage)
	com.aspose.imaging.imageoptions.PngOptions options = new com.aspose.imaging.imageoptions.PngOptions();

	final File pngFile = File.createTempFile("SVGImage", ".png");
	OutputStream pngFileOutputStream = null;

	try {
		pngFileOutputStream = new FileOutputStream(pngFile);, options);
		return new AutoDeleteFileInputStream(pngFile);
	} finally {

Is there a way to use aspose-imaging to convert the SVG and get a proper PNG/JPEG?

Here the input SVG.

Thank you


I have worked with the sample file shared by you and have been able to observe the issue. An issue with ID IMAGINGJAVA-1308 has been created in our issue tracking system to investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

The issues you have found earlier (filed as ) have been fixed in this update.