[ 
https://issues.apache.org/jira/browse/PDFBOX-1876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13908056#comment-13908056
 ] 

John Hewson commented on PDFBOX-1876:
-------------------------------------

The colors are fine, the shading is the problem here, look at p13 for example, 
it's clear that the vertices of the triangle are being shaded with the correct 
colors but in the wrong order.

> Incorrect color for DeviceN type 4 shading object
> -------------------------------------------------
>
>                 Key: PDFBOX-1876
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1876
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 2.0.0
>            Reporter: Tilman Hausherr
>             Fix For: 2.0.0
>
>         Attachments: ch14-01.png, ch14-13.png, ch14-15.png, ch14-20.png, 
> ch14.pdf
>
>
> Thanks to the fix in pdfbox-1442, I was able to get the ch14.pdf file 
> rendered. However the colors are incorrect. On page 13, the colors black and 
> red in the triangle are switched. (The same error is on page 1, 15 and 20 but 
> these take forever to render). I suspect a bug in the 
> shadingTinttransform.eval() function.
> I don't think its a bug in the shading interpolation code, because then there 
> would have been lots of visible triangles in the spheres and donuts on the 
> other pages where its not just a single triangle.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to