You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (JIRA)" <ji...@apache.org> on 2014/01/29 19:48:12 UTC

[jira] [Created] (PDFBOX-1869) Implementation for ShadingType 1

Tilman Hausherr created PDFBOX-1869:
---------------------------------------

             Summary: Implementation for ShadingType 1
                 Key: PDFBOX-1869
                 URL: https://issues.apache.org/jira/browse/PDFBOX-1869
             Project: PDFBox
          Issue Type: Sub-task
    Affects Versions: 2.0.0
            Reporter: Tilman Hausherr
            Priority: Minor


Here's an implementation for function based shading and 4 sample files. The implementation is rather simple. The real work is done in the function, see subtask. I'm using a reverse transformation of the two matrices so that getRaster() gets the "pure" values. The implementation works on two test images and fails on two. I believe that the cause for the two it fails is the problem I had with Type 4 and 5. I also noticed (when debugging) that for FUNSH01.pdf, my implementation always gets the same matrices despite that its 4 different areas in that page.

(Don't get confused by the name "asy-latticeshading.pdf", its not type 5 lattice shading)



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