[ 
https://issues.apache.org/jira/browse/PDFBOX-1116?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Axel Dörfler updated PDFBOX-1116:
---------------------------------

    Description: 
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:
<pre>
            PDDocument doc=PDDocument.load(file);
            try
            {
                @SuppressWarnings("unchecked")
                List<PDPage> pages=doc.getDocumentCatalog().getAllPages();

                return pages.get(0).convertToImage();
            }
            finally
            {
                doc.close();
            }

</pre>

  was:
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.



> 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
>         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:
> <pre>
>             PDDocument doc=PDDocument.load(file);
>             try
>             {
>                 @SuppressWarnings("unchecked")
>                 List<PDPage> pages=doc.getDocumentCatalog().getAllPages();
>                 return pages.get(0).convertToImage();
>             }
>             finally
>             {
>                 doc.close();
>             }
> </pre>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to