GetNextImage Hangs

Hi Team.

Our application converts hundreds of pdf pages to mages continuously but, at some point GetNextImage hangs for infinite time. In such cases, we have to end task the application and initiate it again to continue the process. Could you please let us know if you have a timeout for the GetNextImage or any way to come out of the method so as to proceed with the next Pdf page for conversion?

We use Aspose.Pdf version 18.5

Waiting for your early reply.

Thank you
Sushanth

@sushanthcp

There is no timeout set for the GetNextImage method. The problem may be related to some specific PDF document and we will have to investigate the scenario using that particular file. Furthermore, would you kindly try using the 20.12 version of the API and let us know in case you still face any issue by sharing the sample PDF document along with code snippet.