Convert PDF to TIFF - only blank pages

We have a customer for whom a scanned PDF document only contains blank pages when converted to TIFF.
Tiff is required because the OCR engine Tesseract requires image formats.

Document doc = new Document( is );
TiffSettings tiffSettings = new TiffSettings();
TiffDevice tiffDevice = new TiffDevice( tiffSettings );
tiffDevice.process( doc, target.getAbsolutePath() );

Affected Aspose PDF Versions:
20.12 and 21.3PDF2TIFF-Device-Problem.pdf (130.6 KB)


I have been able to reproduce the issue of blank Tiff file while exporting PDF. A ticket with ID PDFJAVA-40406 has been created to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

The issues you have found earlier (filed as PDFJAVA-40406) have been fixed in Aspose.PDF for Java 21.5.