I'm trying to convert a pdf signed using docusign to image format. We are facing the error in convert_from_path method. Code and error are shown below
import pdf2image
data=pdf2image.convert_from_path('name.pdf')
PDFPageCountError: Unable to get page count. Syntax Error: Gen inside xref table too large (bigger than INT_MAX) Syntax Error: Couldn't find trailer dictionary Syntax Error: Invalid XRef entry Syntax Error: Invalid XRef entry Syntax Error: Top-level pages object is wrong type (null) Command Line Error: Wrong page range given: the first page (1) can not be after the last page (0).