[
https://issues.apache.org/jira/browse/PDFBOX-1116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Lehmkühler resolved PDFBOX-1116.
----------------------------------------
Resolution: Fixed
Fix Version/s: 1.7.0
Assignee: Andreas Lehmkühler
I added a color conversion for jpegs using a separation color space in revision
1188317 so that everything looks fine now.
> Wrong colors with test file
> ---------------------------
>
> Key: PDFBOX-1116
> URL: https://issues.apache.org/jira/browse/PDFBOX-1116
> Project: PDFBox
> Issue Type: Bug
> Affects Versions: 1.6.0
> Environment: Windows, JDK 1.6.0/27
> Reporter: Axel Dörfler
> Assignee: Andreas Lehmkühler
> Fix For: 1.7.0
>
> Attachments: Flyer_A4_Zubehoer_10_Prozent_300dpi.jpg,
> Flyer_A4_Zubehoer_10_Prozent_300dpi.pdf
>
>
> The colors of the attached PDF are wrong when rendered with pdfbox 1.6.
> As a sitenote, on a Windows 2000 system I do not have access to regularly,
> the text was completely messed up, too. I could not reproduce this on Windows
> Vista, though.
> For completeness's sake, this is the code used to render the image:
> PDDocument doc=PDDocument.load(file);
> try
> {
> @SuppressWarnings("unchecked")
> List<PDPage> pages=doc.getDocumentCatalog().getAllPages();
> return pages.get(0).convertToImage();
> }
> finally
> {
> doc.close();
> }
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira