Free Support Forum - groupdocs.com

Our end user’s question XL#83547

Hello, GroupDocs support team,

This is Shin atXLsoft.

This is an inquiry from our user.

When they converted EXCEL (multiple sheets, with page breaks) on your site below, there was a big difference in the conversion results to SVG and JPEG.
https://products.groupdocs.app/conversion/total

Attach the original file and the converted file.
GroupDocs verification.zip (770.1 KB)

Is it possible to improve the conversion result by specifying parameters during programming when actually incorporating it into an application?

Please contact us if you have any necessary information.

Best regards,Shin.

1 Like

@xlsoftkk

If you are intended to utilize or implement API in your application, have a look at this SVG.zip (42.4 KB) generated using API version 20.10.3. Please confirm if this output will work for you. This SVG output is generated using following code:

        String outputFolder = "D:/";
        String outputFileTemplate = new File(outputFolder, "converted-page-%d.svg").getPath();

        try (FileOutputStream getPageStream = new FileOutputStream(String.format(outputFileTemplate, 1))) {

            Converter converter = new Converter("D:/For verification.xlsx");

            ImageConvertOptions options = new ImageConvertOptions();
            options.setFormat(ImageFileType.Svg);
            options.setPagesCount(1);

            converter.convert(getPageStream, options);
        } catch (IOException e) {
            System.out.println(e.getMessage());
        }

Dear Atir Tahir,

This is Shin at XLsoft.

I checked the SVG file included in SVG.zip, but the conversion result was different from the original file (For verification.xlsx).

Does this mean that using the code you contacted in GroupDocs.Conversion for Java 20.10.3 will result in this conversion?
Let me check it just in case.

Best regards,Shin.

@xlsoftkk

We are investigating this issue, your investigation ticket ID is CONVERSIONJAVA-1190. There is some difference between resultant SVG and the source file. You’ll be notified as there’s any update.

Dear Atir Tahir,

This is Shin at XLsoft.

Thank you for reply.
We apologize for the inconvenience, but please continue to investigate.

Please let us know if there is any progress.

Best regards,Shin.

1 Like

@xlsoftkk

We’ll notify you in case of any progress.

Dear Atir Tahir,

This is Shin at XLsoft.

Is there any particular progress after that?
We would appreciate it if you could let us know if there is any progress.

Best regards,Shin.

@xlsoftkk

This issue is still under investigation and it is expected to be fixed in API version 20.12. We’ll notify you as there’s any further update.

Dear Atir Tahir,

This is Shin at XLsoft.

Thank you for contacting us.
I understand. Please continue to investigate.

Best regards,Shin.

1 Like

@xlsoftkk

You’re welcome.

@xlsoftkk

We’ve an update on CONVERSIONJAVA-1190. Please try to use setSkipEmptyRowsAndColumns method of SpreadsheetLoadOptions

SpreadsheetLoadOptions loadOptions = new SpreadsheetLoadOptions();
loadOptions.setSkipEmptyRowsAndColumns(false);
Converter converter = new Converter("D:/For verification.xlsx", loadOptions);

Let us know if issue persists.

Dear Atir_Tahir,

This is Shin at XLsoft.

Thank you for your investigation.
We will answer to the user.

Best regards,Shin.

@xlsoftkk

You’re welcome.