This content is under construction.
To use the latest 2.0 snapshot release from the SVN trunk, you’ll need to add the following dependency:
<dependency>
<groupId>org.apache.pdfbox</groupId>
<artifactId>pdfbox</artifactId>
<version>2.0.0</version>
</dependency>
Important notice when using PDFBox with Java 8
Due to the change of the java color management module towards “LittleCMS”, users can experience slow performance in color operations. Solution: disable LittleCMS in favour of the old KCMS (Kodak Color Management System):
-Dsun.java2d.cmm=sun.java2d.cmm.kcms.KcmsServiceProvideror callSystem.setProperty("sun.java2d.cmm", "sun.java2d.cmm.kcms.KcmsServiceProvider");Sources:
http://www.subshell.com/en/subshell/blog/Wrong-Colors-in-Images-with-Java8-100.html
https://bugs.openjdk.java.net/browse/JDK-8041125