Free Support Forum - groupdocs.com

Diagrams to Images


#1

Hi,

I tried to convert diagrams(vsd, vsdx, vss, vsx, etc) to Images.
And I got an error.

Sample files:
http://www.dan.info/sampledata/visio/VisioTest.vsd
http://www.dan.info/sampledata/visio/VisioTest.vss
http://www.dan.info/sampledata/visio/VisioTest.vst

It seems like diagrams cannot be converted to images.

Are you going to address this issue?
If so, when would it be released roughly?

===============================================================
class com.groupdocs.foundation.exception.a: com.groupdocs.conversion.internal.c.a.d.aj: Error in element VisioDocument in \VisioDocument. Error in element StyleSheet in \VisioDocument\StyleSheets\StyleSheet[-2,147,483,648]. null —> com.groupdocs.conversion.internal.c.a.d.aj: Error in element VisioDocument in \VisioDocument. Error in element StyleSheet in \VisioDocument\StyleSheets\StyleSheet[-2,147,483,648]. null

— End of inner exception stack trace —

com.groupdocs.conversion.domain.documents.d.a(Unknown Source)

com.groupdocs.conversion.domain.a.a(Unknown Source)

com.groupdocs.conversion.domain.b.a(Unknown Source)

com.groupdocs.conversion.domain.b.a(Unknown Source)

com.groupdocs.conversion.handler.ConversionHandler.convert(Unknown Source)

com.groupdocs.conversion.handler.ConversionHandler.convert(Unknown Source)

========================================================================

Here is my codes:

	ConvertedDocument result = getConversionHandler().convert(fileName, _imageSaveOption);


ImageSaveOptions imagesaveOption = new ImageSaveOptions();
imagesaveOption.setConvertFileType(ImageSaveOptions.ImageFileType.PNG);
imagesaveOption.setPageNumber(1);
imagesaveOption.setNumPagesToConvert(1);
imagesaveOption.setHeight(120);
imagesaveOption.setWidth(120);
imagesaveOption.setHorizontalResolution(30);
imagesaveOption.setVerticalResolution(30);


Groupdocs version: 18.12 for java
os: Mac OS High Sierra
IDE: eclipse
Java: 1.8

Thanks

James

#2

@JamesSung,

Thanks for taking interest in GroupDocs.Conversion for Java and posting your concerns.
We are investigating this issue. Your investigation ticket ID is CONVERSIONJAVA-556. We’ll notify you as we have any further update.


#3

@JamesSung,

We’re pleased to inform you that CONVERSIONJAVA-556 is now resolved in latest version of the API 19.4.