pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From msahy...@apache.org
Subject svn commit: r972415 - /websites/production/pdfbox/content/2.0/migration.html
Date Sat, 14 Nov 2015 18:11:52 GMT
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>



Mime
View raw message