SVG convert to PNG gives white PNG


When converting attached SVG to PNG using Aspose.Imaging (see code below) the result is a wrong PNG-File.

Issue seems to be the contained path to display the small info-icon.

The SVG: (1.1 KB)

The sourcecode used to convert:

com.aspose.imaging.fileformats.svg.SvgImage image = (com.aspose.imaging.fileformats.svg.SvgImage) com.aspose.imaging.Image.load(inputStream);
    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 {

The resulting PNG file: SVGImage6363834545642884571.png (289 Bytes)



I have observed the issue shared by you and an issue with ID IMAGINGJAVA-1395 has been created in our issue tracking system to further 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.