We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

[JAVA] Misplaced shape regression from 21.2 to 21.3 when saving as SVG

We have been using Diagram Java to convert vsdx files to SVG. However, versions 21.3 and 21.4 now misplace some previously correctly placed shapes.

The attached svg-conversion-problem-from-21.2-to-21.3.zip file contains an example showing it:

  • diagram-with-image.svg - the source vsdx
  • diagram-with-image.from-21.2.svg - the svg created with diagram 21.2
  • diagram-with-image.from-21.3.svg - the svg created with diagram 21.3
  • com/cognidox/TestConvert.java - the conversion code

As you should see, the first aid shape in the source vsdx should appear midway down the page on the left. In the SVG created with 21.3, this shape is shifted left and down.

There’s nothing in the 21.3 java release notes to indicate why this would happen.

svg-conversion-problem-from-21.2-to-21.3.zip (73.7 KB)

This problem has left us unable to use version 21.3 onwards.



We have logged an issue as DIAGRAMJAVA-50723 in our issue tracking system for further investigation. We will look into its details and let you know as soon as the issue is fixed. Please be patient and spare us some time.

We are sorry for the inconvenience.


We would like to share with you that a fix to this issue has been scheduled for 21.5 version of the API which will be released next month. We will notify you once the mentioned version is available.

The issues you have found earlier (filed as DIAGRAMJAVA-50723) have been fixed in this update. This message was posted using Bugs notification tool by philip.zhou

Thanks - I can confirm 21.5 fixes the issue.


1 Like