You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ms...@apache.org on 2015/11/14 19:11:52 UTC

svn commit: r972415 - /websites/production/pdfbox/content/2.0/migration.html

Author: msahyoun
Date: Sat Nov 14 18:11:51 2015
New Revision: 972415

Log:
Site checkin for project Apache PDFBox Website

Modified:
    websites/production/pdfbox/content/2.0/migration.html

Modified: websites/production/pdfbox/content/2.0/migration.html
==============================================================================
--- websites/production/pdfbox/content/2.0/migration.html (original)
+++ websites/production/pdfbox/content/2.0/migration.html Sat Nov 14 18:11:51 2015
@@ -241,6 +241,21 @@ and so on. The <code>add</code> method n
 </code></pre></div>
 <p><code>ImageIOUtil</code> has been moved into the <code>org.apache.pdfbox.tools.imageio</code> package.</p>
 
+<p class="alert alert-warning">Important notice when using PDFBox with Java 8
+</p>
+
+<p>Due to the change of the java color management module towards &quot;LittleCMS&quot;, users can experience slow performance in color operations.
+Solution: disable LittleCMS in favour of the old KCMS (Kodak Color Management System):</p>
+
+<ul>
+<li>start with <code>-Dsun.java2d.cmm=sun.java2d.cmm.kcms.KcmsServiceProvider</code>or call</li>
+<li><code>System.setProperty(&quot;sun.java2d.cmm&quot;, &quot;sun.java2d.cmm.kcms.KcmsServiceProvider&quot;);</code></li>
+</ul>
+
+<p>Sources:<br>
+<a href="http://www.subshell.com/en/subshell/blog/Wrong-Colors-in-Images-with-Java8-100.html">http://www.subshell.com/en/subshell/blog/Wrong-Colors-in-Images-with-Java8-100.html</a><br>
+<a href="https://bugs.openjdk.java.net/browse/JDK-8041125">https://bugs.openjdk.java.net/browse/JDK-8041125</a></p>
+
 <h3 id="pdf-printing">PDF Printing</h3>
 
 <p>With PDFBox 2.0.0 <code>PDFPrinter</code> has been removed.</p>