[jira] [Commented] (PDFBOX-4627) Wrong color of uncolored tiling pattern
[ https://issues.apache.org/jira/browse/PDFBOX-4627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16920702#comment-16920702 ] Jiri Kunhart commented on PDFBOX-4627: -- [~tilman] According to the last Michael's comment it would be worth to fix it. I think it is matter of time when other pdfbox user has the same problem (if we consider that Amyuni PDF Converter is well know pdf converter and is very often used and maybe other pdf converters would generate the same problematic pdf file). > Wrong color of uncolored tiling pattern > --- > > Key: PDFBOX-4627 > URL: https://issues.apache.org/jira/browse/PDFBOX-4627 > Project: PDFBox > Issue Type: Bug > Components: Rendering >Affects Versions: 2.0.16 >Reporter: Jiri Kunhart >Priority: Major > Attachments: after_fix.png, before_fix.png, > uncolored_tiling_pattern.patch, uncolored_tiling_pattern.pdf > > > The attached pdf file with uncolored tiling pattern is rendered wrongly (see > "before_fix.png"). The problem is that pattern stream contains > /DevGrayCS cs > which overwrites PDPattern color space stored in > PDGraphicsState#nonStrokingColor. I did a small fix which ignores all > settings of color space inside of uncolored tiling pattern stream and the > result seems to be good (see "after_fix.png"). > Note: the pattern in the png file looks diferently than in the original pdf > file, but this should be handled probably in the other issue. -- This message was sent by Atlassian Jira (v8.3.2#803003) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Commented] (PDFBOX-4627) Wrong color of uncolored tiling pattern
[ https://issues.apache.org/jira/browse/PDFBOX-4627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16911989#comment-16911989 ] Jiri Kunhart commented on PDFBOX-4627: -- [~tilman] This pdf file was created by Amyuni PDF Converter and originally contains many objects, I deleted all personal data and left only the problematic pattern object. It is not only about Adobe Reader, but I tried also Foxit Reader and it shows it also well, without any error. Also preflight in Adobe Pro doesn't report any error If I do syntax check. I read PDF Reference fifth edition and I didn't find exactly the sentence mentioned by [~mkl], there is only written this: "The pattern’s content stream does not explicitly specify any colors; it can paint an image mask (see “Stencil Masking” on page 320) but no other kind of image. " And this sounds not so strictly to me. > Wrong color of uncolored tiling pattern > --- > > Key: PDFBOX-4627 > URL: https://issues.apache.org/jira/browse/PDFBOX-4627 > Project: PDFBox > Issue Type: Bug > Components: Rendering >Affects Versions: 2.0.16 >Reporter: Jiri Kunhart >Priority: Major > Attachments: after_fix.png, before_fix.png, > uncolored_tiling_pattern.patch, uncolored_tiling_pattern.pdf > > > The attached pdf file with uncolored tiling pattern is rendered wrongly (see > "before_fix.png"). The problem is that pattern stream contains > /DevGrayCS cs > which overwrites PDPattern color space stored in > PDGraphicsState#nonStrokingColor. I did a small fix which ignores all > settings of color space inside of uncolored tiling pattern stream and the > result seems to be good (see "after_fix.png"). > Note: the pattern in the png file looks diferently than in the original pdf > file, but this should be handled probably in the other issue. -- This message was sent by Atlassian Jira (v8.3.2#803003) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Created] (PDFBOX-4627) Wrong color of uncolored tiling pattern
Jiri Kunhart created PDFBOX-4627: Summary: Wrong color of uncolored tiling pattern Key: PDFBOX-4627 URL: https://issues.apache.org/jira/browse/PDFBOX-4627 Project: PDFBox Issue Type: Bug Components: Rendering Affects Versions: 2.0.16 Reporter: Jiri Kunhart Attachments: after_fix.png, before_fix.png, uncolored_tiling_pattern.patch, uncolored_tiling_pattern.pdf The attached pdf file with uncolored tiling pattern is rendered wrongly (see "before_fix.png"). The problem is that pattern stream contains /DevGrayCS cs which overwrites PDPattern color space stored in PDGraphicsState#nonStrokingColor. I did a small fix which ignores all settings of color space inside of uncolored tiling pattern stream and the result seems to be good (see "after_fix.png"). Note: the pattern in the png file looks diferently than in the original pdf file, but this should be handled probably in the other issue. -- This message was sent by Atlassian JIRA (v7.6.14#76016) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Commented] (PDFBOX-4245) wrong rendering of the transparency group at the specific position on a page
[ https://issues.apache.org/jira/browse/PDFBOX-4245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16574705#comment-16574705 ] Jiri Kunhart commented on PDFBOX-4245: -- [~tilman] I have attached the patches for pdfbox-2.0.12 and pdfbox-3.0.0, where I hope is definitely solved this issue and it works well with our examples and also with your attached pdf from your tests. Please try it. Thx. > 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, > pdfbox-2.0.12-SNAPSHOT_transparency_group_sources.patch, > pdfbox-3.0.0-SNAPSHOT_transparency_group_sources.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: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Updated] (PDFBOX-4245) wrong rendering of the transparency group at the specific position on a page
[ https://issues.apache.org/jira/browse/PDFBOX-4245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jiri Kunhart updated PDFBOX-4245: - Attachment: pdfbox-3.0.0-SNAPSHOT_transparency_group_sources.patch > 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, > pdfbox-2.0.12-SNAPSHOT_transparency_group_sources.patch, > pdfbox-3.0.0-SNAPSHOT_transparency_group_sources.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: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Updated] (PDFBOX-4245) wrong rendering of the transparency group at the specific position on a page
[ https://issues.apache.org/jira/browse/PDFBOX-4245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jiri Kunhart updated PDFBOX-4245: - Attachment: pdfbox-2.0.12-SNAPSHOT_transparency_group_sources.patch > 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, > pdfbox-2.0.12-SNAPSHOT_transparency_group_sources.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: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Commented] (PDFBOX-4245) wrong rendering of the transparency group at the specific position on a page
[ 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: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Updated] (PDFBOX-4245) wrong rendering of the transparency group at the specific position on a page
[ https://issues.apache.org/jira/browse/PDFBOX-4245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jiri Kunhart updated PDFBOX-4245: - Attachment: pdfbox-2.0.10-SNAPSHOT_transparency_group_sources_2.patch > 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: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Updated] (PDFBOX-4257) generalization of marked content classes
[ https://issues.apache.org/jira/browse/PDFBOX-4257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jiri Kunhart updated PDFBOX-4257: - Attachment: (was: pdfbox-2.0.10-SNAPSHOT_marked_content.patch) > generalization of marked content classes > > > Key: PDFBOX-4257 > URL: https://issues.apache.org/jira/browse/PDFBOX-4257 > Project: PDFBox > Issue Type: Bug > Components: Rendering >Affects Versions: 2.0.10 >Reporter: Jiri Kunhart >Priority: Major > Attachments: pdfbox-2.0.10-SNAPSHOT_marked_content.patch > > > This patch allows an user with own PageDrawer to process marked content > sequences as he need. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Updated] (PDFBOX-4257) generalization of marked content classes
[ https://issues.apache.org/jira/browse/PDFBOX-4257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jiri Kunhart updated PDFBOX-4257: - Attachment: pdfbox-2.0.10-SNAPSHOT_marked_content.patch > generalization of marked content classes > > > Key: PDFBOX-4257 > URL: https://issues.apache.org/jira/browse/PDFBOX-4257 > Project: PDFBox > Issue Type: Bug > Components: Rendering >Affects Versions: 2.0.10 >Reporter: Jiri Kunhart >Priority: Major > Attachments: pdfbox-2.0.10-SNAPSHOT_marked_content.patch > > > This patch allows an user with own PageDrawer to process marked content > sequences as he need. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Updated] (PDFBOX-4257) generalization of marked content classes
[ https://issues.apache.org/jira/browse/PDFBOX-4257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jiri Kunhart updated PDFBOX-4257: - Attachment: pdfbox-2.0.10-SNAPSHOT_marked_content.patch > generalization of marked content classes > > > Key: PDFBOX-4257 > URL: https://issues.apache.org/jira/browse/PDFBOX-4257 > Project: PDFBox > Issue Type: Bug > Components: Rendering >Affects Versions: 2.0.10 >Reporter: Jiri Kunhart >Priority: Major > Attachments: pdfbox-2.0.10-SNAPSHOT_marked_content.patch > > > This patch allows an user with own PageDrawer to process marked content > sequences as he need. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Updated] (PDFBOX-4257) generalization of marked content classes
[ https://issues.apache.org/jira/browse/PDFBOX-4257?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jiri Kunhart updated PDFBOX-4257: - Attachment: (was: pdfbox-2.0.10-SNAPSHOT_marked_content.patch) > generalization of marked content classes > > > Key: PDFBOX-4257 > URL: https://issues.apache.org/jira/browse/PDFBOX-4257 > Project: PDFBox > Issue Type: Bug > Components: Rendering >Affects Versions: 2.0.10 >Reporter: Jiri Kunhart >Priority: Major > > This patch allows an user with own PageDrawer to process marked content > sequences as he need. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Created] (PDFBOX-4257) generalization of marked content classes
Jiri Kunhart created PDFBOX-4257: Summary: generalization of marked content classes Key: PDFBOX-4257 URL: https://issues.apache.org/jira/browse/PDFBOX-4257 Project: PDFBox Issue Type: Bug Components: Rendering Affects Versions: 2.0.10 Reporter: Jiri Kunhart Attachments: pdfbox-2.0.10-SNAPSHOT_marked_content.patch This patch allows an user with own PageDrawer to process marked content sequences as he need. -- This message was sent by Atlassian JIRA (v7.6.3#76005) - To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org
[jira] [Created] (PDFBOX-4245) wrong rendering of the transparency group at the specific position on a page
Jiri Kunhart created PDFBOX-4245: Summary: 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 Attachments: 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 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: dev-unsubscr...@pdfbox.apache.org For additional commands, e-mail: dev-h...@pdfbox.apache.org