gscan2pdf uses pdfimages to extract the images from the PDF. It looks to me that pdfimage can only write 1000 images per call. I assume that the workaround would be to extract the images in batches of 1000.
Please confirm that having imported pages 1-1000 in the first step, you can them import pages 1001-1526 in a second step.
If this works, I will:
a. raise a bug against pdfimages
b. code the workaround into gscan2pdf so that it does this internally.
gscan2pdf uses pdfimages to extract the images from the PDF. It looks to me that pdfimage can only write 1000 images per call. I assume that the workaround would be to extract the images in batches of 1000.
Please confirm that having imported pages 1-1000 in the first step, you can them import pages 1001-1526 in a second step.
If this works, I will:
a. raise a bug against pdfimages
b. code the workaround into gscan2pdf so that it does this internally.