Exception when generating Visio to svg with background


#1

javax.imageio.IIOException: Unable to read the image header.
at com.sun.imageio.plugins.bmp.BMPImageReader.read(BMPImageReader.java:746)
at javax.imageio.ImageIO.read(ImageIO.java:1448)

This vsd has a background image.orgcons.vsd.zip (575.3 KB)


#2

@ron.inputdata.no

Thanks for contacting support.

We have tested the scenario with Aspose.Diagram for Java 18.10 and were able to notice the issue in our environment. Hence, logged it as DIAGRAMJAVA-50629 in our issue tracking system for the sake of correction. We will further look into details of the issue and keep you posted with the status of its correction. Please be patient and spare us little time.

We are sorry for the inconvenience.


#3

@ron.inputdata.no

We would like to share with you that your issue has been fixed and its fix is available in hotfix version of the API Aspose.Diagram for Java 18.10.1. Please use shared JAR of the API and in case you still face any issue, please feel free to let us know.


#4

The issues you have found earlier (filed as DIAGRAMJAVA-50629) have been fixed in Aspose.Diagram for Java 18.11.