TomRoush / PdfBox-Android

The Apache PdfBox project ported to work on Android
Apache License 2.0
1.02k stars 263 forks source link

PDF preview image generate is not working well with pre-filled generated PDF files #554

Open ShaharZohar opened 11 months ago

ShaharZohar commented 11 months ago

Describe the bug While using the library to read PDF files and generate a preview image, the image that generated is from the PDF file is missing parts of the the PDF file.

To reproduce In order to reproduce this issue, generate a pre-filled PDF file. Try to load and generate a preview image using the library, the preview image is missing some parts of the PDF file.

Expected behavior A clear pdf preview image.

Actual behavior The image generated by the library is not full and some parts of the file are missing.

Environment details:

Maybe it is something related to this fix that is not working properly - https://github.com/TomRoush/PdfBox-Android/pull/487