[
https://issues.apache.org/jira/browse/PDFBOX-2561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr updated PDFBOX-2561:
------------------------------------
Attachment: jagpdf_doc_color_spaces.pdf
> Rendering of PDIndexed line incorrect
> -------------------------------------
>
> Key: PDFBOX-2561
> URL: https://issues.apache.org/jira/browse/PDFBOX-2561
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.0
> Reporter: Tilman Hausherr
> Assignee: Tilman Hausherr
> Fix For: 2.0.0
>
> Attachments: jagpdf_doc_color_spaces.pdf
>
>
> Page 4 of the attached file has three colors that are rendered incorrectly.
> The initialization is correct, however toRGB() gets passed float values that
> are indices, i.e. 0.0, 1.0, 2.0, so it is wrong to multiply them with 255.
> See also PDFBOX-1997 and [ https://svn.apache.org/r1607674 ] which had a
> similar problem.
> Before committing I'll first run my test suite.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)