Andreas fixed it. You can (and should) test with a snapshot:
https://repository.apache.org/content/groups/snapshots/org/apache/pdfbox/pdfbox-app/3.0.8-SNAPSHOT/

Tilman

Am 05.05.2026 um 09:47 schrieb Tilman Hausherr:
Thank you, I was able to reproduce it and created
https://issues.apache.org/jira/browse/PDFBOX-6203

Tilman

Am 05.05.2026 um 09:33 schrieb Cserinko Andreas:
Dear PDFBox Team,

I encountered a strange behavior regarding the version 3.0.7 of the pdfbox-library. Let's say we have a PDF, which has 10 pages and we want to split this PDF so that we have 10 PDF-files, it seems to corrupt some of this files. I made a small sample project to demonstrate the behavior: https://github.com/Cse93/pdfbox-split-showcase The code splits a large PDF (located in the resources-folder) into single pages. However with the version 3.0.7 of pdfbox we encountered that some pdfs get corrupted using this method. When we rollback to version 3.0.6 the output of the same pdf and the same code no pdfs are corrupted.

Additional informations are in the README of the project - the splitted pdfs are written in a temp directory - the path is in the console-logs. If you need any more informations, please let me know.

Kind regards,
Andreas




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to