[
https://issues.apache.org/jira/browse/PDFBOX-4246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16517369#comment-16517369
]
Tilman Hausherr commented on PDFBOX-4246:
-----------------------------------------
Obviously, if the problem doesn't appear after a jdk update, it's a jdk bug,
not a PDFBox bug. It is a bad practice to use an outdated jdk.
I assume you're using the KCMS option (it is standard in PDFDebugger since
2.0.9, see PDFBOX-3998)
The only other workaround I can think of is that you use the twelvemonkeys
library, i.e. use the jpeg decoder from them.
https://github.com/haraldk/TwelveMonkeys
command line:
java -Dsun.java2d.cmm=sun.java2d.cmm.kcms.KcmsServiceProvider -cp
"debugger-app-2.0.9.jar;./lib/*" org.apache.pdfbox.debugger.PDFDebugger
The lib subdirectory should contain the twelvemonkeys jar files, namely:
twelvemonkeys-common-lang-3.3.2.jar
twelvemonkeys-common-io-3.3.2.jar
twelvemonkeys-common-image-3.3.2.jar
twelvemonkeys-imageio-core-3.3.2.jar
twelvemonkeys-imageio-metadata-3.3.2.jar
twelvemonkeys-imageio-jpeg-3.3.2.jar
> Incorrect colors rendered
> --------------------------
>
> Key: PDFBOX-4246
> URL: https://issues.apache.org/jira/browse/PDFBOX-4246
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.9
> Environment: Windows 8.1, 10
> Reporter: Juraj Antal
> Priority: Major
> Attachments: debbuger-app-screenshot.jpg, xerox.pdf
>
>
> In PDF documents created by some Xerox machines / engines PDFBox renders
> wrong colors. Even viewer provided in debugger-app-2.0.9.jar renders it wrong
> (red background).
> The document passed Adobe PDF check, no issues were detected. No issues with
> adobe reader and other PDF engines.
> I attach a sample document and screenshot from debbuger app viewer.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]