Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-1876

Incorrect color for DeviceN type 4 shading object

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.4, 2.0.0
    • Fix Version/s: 1.8.5, 2.0.0
    • Component/s: Rendering
    • Labels:
      None

      Description

      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.

        Attachments

        1. PDFBOX-1876-duotone.ps
          1 kB
          Tilman Hausherr
        2. pdfbox-1876-duotone.pdf-1.png
          47 kB
          Tilman Hausherr
        3. PDFBOX-1876-duotone.pdf
          3 kB
          Tilman Hausherr
        4. ch14-20.png
          338 kB
          Tilman Hausherr
        5. ch14-15.png
          333 kB
          Tilman Hausherr
        6. ch14-13.png
          556 kB
          Tilman Hausherr
        7. ch14-01.png
          366 kB
          Tilman Hausherr
        8. ch14.pdf
          774 kB
          Tilman Hausherr

          Issue Links

            Activity

              People

              • Assignee:
                tilman Tilman Hausherr
                Reporter:
                tilman Tilman Hausherr
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: