[
https://issues.apache.org/jira/browse/PDFBOX-1876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13907360#comment-13907360
]
Tilman Hausherr commented on PDFBOX-1876:
-----------------------------------------
If this is a shading issue, why are all the other type 3 and 4 test cases ok?
You know more about DeviceN than me - if you have the time, please look at the
colors for page 13, use the debug output to see the corner colors, convert them
to RGB. (in GouraudShadingContext.readVertex().
> 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)