Document conversion issue in Java API

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Helvetica Neue'; color: #454545} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Helvetica Neue'; color: #454545; min-height: 14.0px}

Hi!


We’re evaluating the GroupDocs product for converting the number of formats to PDF. We have bunch of large files (like about 750 pages) which took about 18 sec to convert. But we have one of possible requirements to convert only specific pages (for lazy load scenario). Conversion of the whole document which takes about 18 seconds is fine but we’d expect to have a really fast conversion for one page of the document but it takes approximately the same time (about 13-14 seconds). Is there any way to make it faster?


Here is my example configuration:


ConversionConfig conversionConfig = new ConversionConfig();
conversionConfig.setStoragePath(outputDir);
conversionConfig.setOutputPath(outputDir);
ConversionHandler conversionHandler = new ConversionHandler(conversionConfig);
PdfSaveOptions saveOption = new PdfSaveOptions();
saveOption.setOutputType(OutputType.String);
saveOption.setNumPagesToConvert(1);
saveOption.setPageNumber(3);
String result = new File(conversionHandler.convert(filePath, saveOption)).getName();


Note I'm using 3.0.0 version.


Thanks.

Hi Kalinovski,

Thanks for your patience.

We are able to reproduce this issue at our end as well. We have logged this issue in our internal issue tracking system with the ID :CONVERSIONJAVA-168. As we'll get any update from the concerned team, we will notify you. Please stay tuned.

Thank You.

Hello Kalinovski,


You are welcome, We are always here to sort out your issues.

Have a nice weekend.

Best Wishes.