Free Support Forum - aspose.com

Unwanted arrowheads showing in PNG, SVG conversions

The Visio source has a compound line object of some sort. In the converted image, an extra arrowhead is visible, which is not visible in Visio display. See attached zip for Visio source, PNG, and SVG samples, as well as conversion code. Using Aspose.Diagram 18.8 for .net. UnwantedArrowheads.zip (204.8 KB)

@phtyson

Thank you for contacting support.

We have worked with the data shared by you and have been able to reproduce the issue in our environment with the code snippet mentioned below. Following tickets have been logged in our issue management system for further investigation and resolution. The ticket IDs have been linked with this thread so that you will receive notifications as soon as the tickets are resolved.

DIAGRAMNET-51511 - VSDX to PNG Issue
DIAGRAMNET-51512 - VSDX to SVG Issue

        // Call the diagram constructor to load a VSD diagram
        Diagram diagram = new Diagram(dataDir + "Unwanted_Arrowheads.vsdx");

        // Save Image file
        diagram.Save(dataDir + "Unwanted_Arrowheads_18.8.png", SaveFileFormat.PNG);

        // Save SVG Output file
        diagram.Save(dataDir + "Output_18.8.svg", SaveFileFormat.SVG);

We are sorry for the inconvenience.

The issues you have found earlier (filed as DIAGRAMNET-51511,DIAGRAMNET-51512) have been fixed in Aspose.Diagram for .NET 18.9.