Repository: pdfbox-docs Updated Branches: refs/heads/master 2509223c5 -> 5740f3474
PDFBOX-3330: add info about Java 8 LittleCMS to Getting Started Project: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/repo Commit: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/commit/5740f347 Tree: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/tree/5740f347 Diff: http://git-wip-us.apache.org/repos/asf/pdfbox-docs/diff/5740f347 Branch: refs/heads/master Commit: 5740f347435473624a09d7f9a05f5237791b8d16 Parents: 2509223 Author: Maruan Sahyoun <sahy...@fileaffairs.de> Authored: Wed Apr 27 17:53:11 2016 +0200 Committer: Maruan Sahyoun <sahy...@fileaffairs.de> Committed: Wed Apr 27 17:53:11 2016 +0200 ---------------------------------------------------------------------- content/2.0/getting-started.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/pdfbox-docs/blob/5740f347/content/2.0/getting-started.md ---------------------------------------------------------------------- diff --git a/content/2.0/getting-started.md b/content/2.0/getting-started.md index 5fb3498..b6c441e 100644 --- a/content/2.0/getting-started.md +++ b/content/2.0/getting-started.md @@ -33,3 +33,17 @@ To use the latest 2.0 snapshot release from the SVN trunk, you'll need to add th <artifactId>pdfbox</artifactId> <version>2.0.0</version> </dependency> + +## PDFBox and Java 8 ## + +<p class="alert alert-warning">Important notice when using PDFBox with Java 8 +</p> +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): + +- start with ``-Dsun.java2d.cmm=sun.java2d.cmm.kcms.KcmsServiceProvider``or call +- ``System.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 \ No newline at end of file