[
https://issues.apache.org/jira/browse/PDFBOX-4245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16555731#comment-16555731
]
Jiri Kunhart commented on PDFBOX-4245:
--------------------------------------
[~tilman]: We have made the new patch
"pdfbox-2.0.10-SNAPSHOT_transparency_group_sources_2.patch", which help us to
use the PDFBox 2.0 and it doesn't break the tests here. The change is simple,
we only allow to override the method PageDrawer#adjustRectangle() and adjust
there the translations of the softmask if someone need some. We have also
updated the test example "TestPDFToImage", where is overriden method already
used and it works well.
> wrong rendering of the transparency group at the specific position on a page
> ----------------------------------------------------------------------------
>
> Key: PDFBOX-4245
> URL: https://issues.apache.org/jira/browse/PDFBOX-4245
> Project: PDFBox
> Issue Type: Bug
> Components: Rendering
> Affects Versions: 2.0.10
> Reporter: Jiri Kunhart
> Assignee: Tilman Hausherr
> Priority: Major
> Labels: patch
> Attachments: gs-bugzilla690022-reduced-rotations-cropbox.pdf,
> gs-bugzilla690022-reduced-rotations.pdf, gs-bugzilla690022.pdf,
> pdfbox-2.0.10-SNAPSHOT_transparency_group_all.patch,
> pdfbox-2.0.10-SNAPSHOT_transparency_group_resources.zip,
> pdfbox-2.0.10-SNAPSHOT_transparency_group_sources.patch,
> pdfbox-2.0.10-SNAPSHOT_transparency_group_sources_2.patch
>
>
> The rendering of the transparency groups works only if the whole page is
> rendered. If you try to render only a part of the page where is a
> transparency group placed, you will get only the white image or an image with
> shifted pixels representing applied soft mask. The simple fix is attached in
> the patch, including the test and the resources used for testing.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]