Skip to content

Cse93/pdfbox-split-showcase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pdfbox-split-showcase

Java project to demonstrate the difference of the behavior of splitting a PDF with pdfbox version 3.0.6 compared to version 3.0.7.

How it works

In the resource folder is a single pdf file with lots of pages. We want to split those file into single pages. Therefore we use the split() Method in the Splitter class of the pdfbox library. When we use the version 3.0.6 of the library, the output looks good, but when we upgrade to version 3.0.7, some files are not rendered correctly.

For example on page 7 only the background is rendered. Page 2 is only a white page - the images on this page are missing.

How to reproduce

In the pom.xml set the version of the pdfbox library to 3.0.6 and run the project. Observe the pdfs in the output directory (especially page 2 and page 7). Then change the version to 3.0.7 and run the project again. Observe the pdfs in the output directory again.

NOTE open the pdfs with the acrobat reader - chrome will render some files

Tech Stack

  • Java 25
  • Apache PDFBox 3.0.6 / 3.0.7

About

Repository for submitting a bug for the pdfbox

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages