[ 
https://issues.apache.org/jira/browse/PDFBOX-1958?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13944241#comment-13944241
 ] 

John Hewson edited comment on PDFBOX-1958 at 3/22/14 9:13 PM:
--------------------------------------------------------------

I've fixed the exception in revision 1580326, it was caused by the page height 
not being passed to the toPaint method (there was a TODO in the code). However, 
the shading colors are now incorrect.


was (Author: jahewson):
I've fixed the exception in revision 1580326, it was caused by the page height 
not being passed to the toPaint method (there was a TODO in the code).

> image mask outline with shading pattern is invisible
> ----------------------------------------------------
>
>                 Key: PDFBOX-1958
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1958
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Tilman Hausherr
>            Assignee: John Hewson
>              Labels: mask, shading, shadingpattern
>         Attachments: cinnebar.pdf, cinnebar.ps
>
>
> This is also somewhat of a regression: two weeks ago, the attached file had 
> the image rendered in b/w, now it is invisible. I was able to get the image 
> in another (wrong) color by changing one line in BeginInlineImage.java, the 
> one with TODO to
>             awtImage = image.getStencilImage(colorSpace.toPaint(color, 
> image.getHeight())); // <--- TODO: pass page height?



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to