Hi
I'm using pdf2image import convert_from_path
I'm converting 13k using loop but while converting from pdf to image, I,m getting Invalid SOS parameters for sequential JPEG on windows machine, due to which my script being stopped, how to handle or catch these cases and move to other file conversion.
Hi I'm using pdf2image import convert_from_path I'm converting 13k using loop but while converting from pdf to image, I,m getting Invalid SOS parameters for sequential JPEG on windows machine, due to which my script being stopped, how to handle or catch these cases and move to other file conversion.
images=convert_from_path(filename,500,poppler_path=r'C:\Program Files (x86)\poppler-0.68.0_x86\poppler-0.68.0\bin')