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

Tilman Hausherr updated PDFBOX-1876:
------------------------------------

    Attachment: PDFBOX-1876-duotone.ps
                pdfbox-1876-duotone.pdf-1.png
                PDFBOX-1876-duotone.pdf

Here's a PDF file with DeviceN that doesn't use shading, but the colors are not 
rendered correctly. I have also attached the postscript file because it is 
easily readable. I hope that this proves my argument :-)

> 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: PDFBOX-1876-duotone.pdf, PDFBOX-1876-duotone.ps, 
> ch14-01.png, ch14-13.png, ch14-15.png, ch14-20.png, ch14.pdf, 
> pdfbox-1876-duotone.pdf-1.png
>
>
> 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