You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2014/01/31 19:58:13 UTC

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

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

Andreas Lehmkühler reassigned PDFBOX-1869:
------------------------------------------

    Assignee: Andreas Lehmkühler

> Implementation for ShadingType 1
> --------------------------------
>
>                 Key: PDFBOX-1869
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1869
>             Project: PDFBox
>          Issue Type: Sub-task
>          Components: PDModel
>    Affects Versions: 2.0.0
>            Reporter: Tilman Hausherr
>            Assignee: Andreas Lehmkühler
>            Priority: Minor
>         Attachments: FUNSH01.pdf, PDShadingType1.patch, RGBCUBE.pdf, Type1ShadingContext.java, Type1ShadingPaint.java, asy-latticeshading.pdf, asy-latticeshading.pdf-1.png, asy-strokeshade.pdf, asy-strokeshade.pdf-1.png, funsh01.pdf-1.png, funsh01.pdf-1.png, rgbcube.pdf-1.png, rgbcube.pdf-1.png
>
>
> 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)