We are trying to build PDF to Image (JPEG) converter using groupdocs conversation API for java.
The pdf has multiple pages and each page should be converted to an image.
It seems the converter.convert() method only convert one page at a time. To convert every page to an image a “for loop” is required. Which I believe also increase the conversion time as for every loop the whole pdf is loaded to the converter and a page is converted. This is not at all ideal.
Is there any way to optimise the conversion process for this case? It is important for our use case have faster conversation time.
If possible please share a code snippet with optimization. Any way to use streams or anything that can improve the performance.