Am 26.10.2018 um 09:25 schrieb Vassallo, Fabio:

Good morning.

During the startup of our application, PDFBox gives us this advice:

2018-10-24 12:50:16 INFO org.apache.pdfbox.pdmodel.graphics.color.PDDeviceRGB suggestKCMS - To get higher rendering speed on java 8 oder 9, 2018-10-24 12:50:16 INFO org.apache.pdfbox.pdmodel.graphics.color.PDDeviceRGB suggestKCMS -   use the option -Dsun.java2d.cmm=sun.java2d.cmm.kcms.KcmsServiceProvider 2018-10-24 12:50:16 INFO org.apache.pdfbox.pdmodel.graphics.color.PDDeviceRGB suggestKCMS -   or call System.setProperty("sun.java2d.cmm", "sun.java2d.cmm.kcms.KcmsServiceProvider")

I cannot find good documentation about this option.

Could you, please, so kind to explain when it should be set (my concern is not to degrade performance in other part of the application).


What you saw is the documentation. It should be set for higher rendering speed. Rendering = convert to image. This is a java workaround to avoid the newer slower LCMS. CMS = color management system. However the slowness has partly disappeared in the latest jdk8 version => test for yourself. There will be no difference for simple PDFs, e.g. invoices, but there may be differences for advanced PDFs, e.g. illustrations in advertising.

See also
https://blog.idrsolutions.com/2014/04/color-performance-change-newer-java-releases/
https://bugs.openjdk.java.net/browse/JDK-8041125

Tilman



Thank you in advance,

Fabio

*Fabio Vassallo*
Product Development (CIS)
http://hafisherhomes.com/wp-content/themes/hughfisher/img/galleryDividerLine.png

cid:[email protected]

Würth Phoenix S.r.l.
via Kravogl 4, 39100 Bolzano

T: +39 0471 564 116

F: +39 0471 564 122

Website <http://www.wuerth-phoenix.com/>| e-Mail <mailto:[email protected]>| Map <https://www.google.de/maps/place/Wuerth+Phoenix+S.R.L./@46.474192,11.33141,15z/data=%214m2%213m1%211s0x0:0x98a5db69edb2a02?hl=en>
http://hafisherhomes.com/wp-content/themes/hughfisher/img/galleryDividerLine.png

twitter-2 <https://twitter.com/WuerthPhoenix>wordpress-2 <http://www.neteye-blog.com/>linkedin <https://www.linkedin.com/company/wuerth-phoenix>youtube <https://www.youtube.com/user/WuerthPhoenix>http://feng-shui-web.net/blog2/wp-content/uploads/2016/02/xing-icon.png <https://www.xing.com/companies/w%C3%BCrthphoenixsrl>facebook <https://www.facebook.com/wuerthphoenix>


  • suggestKCMS Vassallo, Fabio
    • Re: suggestKCMS Tilman Hausherr

Reply via email to