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

Tilman Hausherr updated PDFBOX-1869:
------------------------------------

    Attachment: asy-strokeshade.pdf-1.png
                asy-latticeshading.pdf-1.png
                rgbcube.pdf-1.png
                funsh01.pdf-1.png

Rendered images, two of four are ok.

> 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
>            Priority: Minor
>         Attachments: FUNSH01.pdf, 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, 
> 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)

Reply via email to