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/12/28 19:14:13 UTC

[jira] [Comment Edited] (PDFBOX-2217) Matrix transform ignored in axial and radial shadings (in PDFToImage output)

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

Tilman Hausherr edited comment on PDFBOX-2217 at 12/28/14 6:13 PM:
-------------------------------------------------------------------

I'm currently working on this, and this will be done in two steps:
- apply inverted ctm and xform to each coordinate in getRaster, as I already do with type1 shading (works fine, see attachment) but without the optimizations
- reintroduce the optimizations in the new code

Other files with the same problem:
- PDFBOX-2344-233644-p10.pdf (axial, see "rolling" and "scrap processing")
- PATTYP1.pdf (axial, the "L" shadings must be diagonal)


was (Author: tilman):
I'm currently working on this, and this will be done in two steps:
- apply inverted ctm and xform to each coordinate in getRaster, as I already do with type1 shading (works fine, see attachment) but without the optimizations
- reintroduce the optimizations in the new code

Other files with the same problem:
- PDFBOX-2344-233644-p10.pdf (axial, see "rolling" and "scrap processing")


> Matrix transform ignored in axial and radial shadings (in PDFToImage output)
> ----------------------------------------------------------------------------
>
>                 Key: PDFBOX-2217
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2217
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Rendering
>    Affects Versions: 1.8.6, 1.8.7, 2.0.0
>            Reporter: Luis Bernardo
>            Assignee: Tilman Hausherr
>              Labels: shading, shadingpattern
>             Fix For: 2.0.0
>
>         Attachments: PDFBOX-2217-transformedshading1.jpg, pdfbox-bug.pdf, pdfbox-bug1.png
>
>
> See attached example.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)