[jira] [Commented] (PDFBOX-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
[ https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16489441#comment-16489441 ] ASF subversion and git services commented on PDFBOX-4095: - Commit 1832191 from [~tilman] in branch 'pdfbox/trunk' [ https://svn.apache.org/r1832191 ] PDFBOX-4095: Sonar fix > Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY) > > > Key: PDFBOX-4095 > URL: https://issues.apache.org/jira/browse/PDFBOX-4095 > Project: PDFBox > Issue Type: Improvement > Components: Rendering >Affects Versions: 2.0.8 >Reporter: savan patel >Priority: Major > Fix For: 2.0.10, 3.0.0 PDFBox > > Attachments: A-Designers-Guide-to-Transparency-2007.pdf, > BlendComposite-2.patch, BlendComposite.java.patch, BlendMode-2.patch, > BlendMode.java.patch, COSName.java.patch, Transparency_DesignGuide-2004.pdf, > blendmodes.pdf, gs-bugzilla689095.pdf, gs-bugzilla690477.pdf, > gs-bugzilla695975.pdf, gs-bugzilla697433-1.pdf, hue-not-committed.patch > > > I have a patch for implementation of non separable blend modes... -- 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-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
[ https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16489440#comment-16489440 ] ASF subversion and git services commented on PDFBOX-4095: - Commit 1832190 from [~tilman] in branch 'pdfbox/branches/2.0' [ https://svn.apache.org/r1832190 ] PDFBOX-4095: Sonar fix > Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY) > > > Key: PDFBOX-4095 > URL: https://issues.apache.org/jira/browse/PDFBOX-4095 > Project: PDFBox > Issue Type: Improvement > Components: Rendering >Affects Versions: 2.0.8 >Reporter: savan patel >Priority: Major > Fix For: 2.0.10, 3.0.0 PDFBox > > Attachments: A-Designers-Guide-to-Transparency-2007.pdf, > BlendComposite-2.patch, BlendComposite.java.patch, BlendMode-2.patch, > BlendMode.java.patch, COSName.java.patch, Transparency_DesignGuide-2004.pdf, > blendmodes.pdf, gs-bugzilla689095.pdf, gs-bugzilla690477.pdf, > gs-bugzilla695975.pdf, gs-bugzilla697433-1.pdf, hue-not-committed.patch > > > I have a patch for implementation of non separable blend modes... -- 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-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
[ https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16487759#comment-16487759 ] ASF subversion and git services commented on PDFBOX-4095: - Commit 1832117 from [~tilman] in branch 'pdfbox/branches/2.0' [ https://svn.apache.org/r1832117 ] PDFBOX-4095: implement non separable blend modes (hue, saturation, color, luminosity), by Savan Patel and Jani Pehkonen > Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY) > > > Key: PDFBOX-4095 > URL: https://issues.apache.org/jira/browse/PDFBOX-4095 > Project: PDFBox > Issue Type: Improvement > Components: Rendering >Affects Versions: 2.0.8 >Reporter: savan patel >Priority: Major > Attachments: A-Designers-Guide-to-Transparency-2007.pdf, > BlendComposite-2.patch, BlendComposite.java.patch, BlendMode-2.patch, > BlendMode.java.patch, COSName.java.patch, Transparency_DesignGuide-2004.pdf, > blendmodes.pdf, gs-bugzilla689095.pdf, gs-bugzilla690477.pdf, > gs-bugzilla695975.pdf, gs-bugzilla697433-1.pdf, hue-not-committed.patch > > > I have a patch for implementation of non separable blend modes... -- 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-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
[ https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16487760#comment-16487760 ] ASF subversion and git services commented on PDFBOX-4095: - Commit 1832118 from [~tilman] in branch 'pdfbox/trunk' [ https://svn.apache.org/r1832118 ] PDFBOX-4095: implement non separable blend modes (hue, saturation, color, luminosity), by Savan Patel and Jani Pehkonen > Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY) > > > Key: PDFBOX-4095 > URL: https://issues.apache.org/jira/browse/PDFBOX-4095 > Project: PDFBox > Issue Type: Improvement > Components: Rendering >Affects Versions: 2.0.8 >Reporter: savan patel >Priority: Major > Attachments: A-Designers-Guide-to-Transparency-2007.pdf, > BlendComposite-2.patch, BlendComposite.java.patch, BlendMode-2.patch, > BlendMode.java.patch, COSName.java.patch, Transparency_DesignGuide-2004.pdf, > blendmodes.pdf, gs-bugzilla689095.pdf, gs-bugzilla690477.pdf, > gs-bugzilla695975.pdf, gs-bugzilla697433-1.pdf, hue-not-committed.patch > > > I have a patch for implementation of non separable blend modes... -- 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-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
[ https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16484352#comment-16484352 ] Tilman Hausherr commented on PDFBOX-4095: - Thanks... I'll have a look at the differences and post them here. This will take some time A-Designers-Guide-to-Transparency-2007.pdf, p7: better A-Designers-Guide-to-Transparency-2007.pdf, p12: better gs-bugzilla690477.pdf: now perfect ... > Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY) > > > Key: PDFBOX-4095 > URL: https://issues.apache.org/jira/browse/PDFBOX-4095 > Project: PDFBox > Issue Type: Improvement > Components: Rendering >Affects Versions: 2.0.8 >Reporter: savan patel >Priority: Major > Attachments: A-Designers-Guide-to-Transparency-2007.pdf, > BlendComposite-2.patch, BlendComposite.java.patch, BlendMode-2.patch, > BlendMode.java.patch, COSName.java.patch, Transparency_DesignGuide-2004.pdf, > blendmodes.pdf, gs-bugzilla689095.pdf, gs-bugzilla690477.pdf, > gs-bugzilla695975.pdf, gs-bugzilla697433-1.pdf, hue-not-committed.patch > > > I have a patch for implementation of non separable blend modes... -- 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-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
[ https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16484055#comment-16484055 ] Jani Pehkonen commented on PDFBOX-4095: --- I have improved the patch. [^BlendComposite-2.patch] [^BlendMode-2.patch] > Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY) > > > Key: PDFBOX-4095 > URL: https://issues.apache.org/jira/browse/PDFBOX-4095 > Project: PDFBox > Issue Type: Improvement > Components: Rendering >Affects Versions: 2.0.8 >Reporter: savan patel >Priority: Major > Attachments: A-Designers-Guide-to-Transparency-2007.pdf, > BlendComposite-2.patch, BlendComposite.java.patch, BlendMode-2.patch, > BlendMode.java.patch, COSName.java.patch, Transparency_DesignGuide-2004.pdf, > blendmodes.pdf, gs-bugzilla689095.pdf, gs-bugzilla690477.pdf, > gs-bugzilla695975.pdf, gs-bugzilla697433-1.pdf, hue-not-committed.patch > > > I have a patch for implementation of non separable blend modes... -- 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-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
[ https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16412026#comment-16412026 ] Tilman Hausherr commented on PDFBOX-4095: - I just attached the (not committed) changes as a patch if anybody wants to improve. It must be applied relative to the package because I've removed my private directory information. > Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY) > > > Key: PDFBOX-4095 > URL: https://issues.apache.org/jira/browse/PDFBOX-4095 > Project: PDFBox > Issue Type: Improvement > Components: Rendering >Affects Versions: 2.0.8 >Reporter: savan patel >Priority: Major > Attachments: A-Designers-Guide-to-Transparency-2007.pdf, > BlendComposite.java.patch, BlendMode.java.patch, COSName.java.patch, > Transparency_DesignGuide-2004.pdf, blendmodes.pdf, gs-bugzilla689095.pdf, > gs-bugzilla690477.pdf, gs-bugzilla695975.pdf, gs-bugzilla697433-1.pdf, > hue-not-committed.patch > > > I have a patch for implementation of non separable blend modes... -- 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-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
[ https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16410080#comment-16410080 ] Tilman Hausherr commented on PDFBOX-4095: - I did a second try in case it was related to the recent improvements (paint on transparent background), but it didn't get better. I have attached some more test files. > Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY) > > > Key: PDFBOX-4095 > URL: https://issues.apache.org/jira/browse/PDFBOX-4095 > Project: PDFBox > Issue Type: Improvement > Components: Rendering >Affects Versions: 2.0.8 >Reporter: savan patel >Priority: Major > Attachments: A-Designers-Guide-to-Transparency-2007.pdf, > BlendComposite.java.patch, BlendMode.java.patch, COSName.java.patch, > Transparency_DesignGuide-2004.pdf, blendmodes.pdf, gs-bugzilla689095.pdf, > gs-bugzilla690477.pdf, gs-bugzilla695975.pdf, gs-bugzilla697433-1.pdf > > > I have a patch for implementation of non separable blend modes... -- 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-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
[ https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16375768#comment-16375768 ] ASF subversion and git services commented on PDFBOX-4095: - Commit 1825274 from [~tilman] in branch 'pdfbox/branches/2.0' [ https://svn.apache.org/r1825274 ] PDFBOX-4095: add constants > Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY) > > > Key: PDFBOX-4095 > URL: https://issues.apache.org/jira/browse/PDFBOX-4095 > Project: PDFBox > Issue Type: Improvement > Components: Rendering >Affects Versions: 2.0.8 >Reporter: savan patel >Priority: Major > Attachments: BlendComposite.java.patch, BlendMode.java.patch, > COSName.java.patch, blendmodes.pdf, gs-bugzilla690477.pdf, > gs-bugzilla697433-1.pdf > > > I have a patch for implementation of non separable blend modes... -- 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-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
[ https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16375769#comment-16375769 ] ASF subversion and git services commented on PDFBOX-4095: - Commit 1825275 from [~tilman] in branch 'pdfbox/trunk' [ https://svn.apache.org/r1825275 ] PDFBOX-4095: add constants > Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY) > > > Key: PDFBOX-4095 > URL: https://issues.apache.org/jira/browse/PDFBOX-4095 > Project: PDFBox > Issue Type: Improvement > Components: Rendering >Affects Versions: 2.0.8 >Reporter: savan patel >Priority: Major > Attachments: BlendComposite.java.patch, BlendMode.java.patch, > COSName.java.patch, blendmodes.pdf, gs-bugzilla690477.pdf, > gs-bugzilla697433-1.pdf > > > I have a patch for implementation of non separable blend modes... -- 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-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
[ https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16364380#comment-16364380 ] Tilman Hausherr commented on PDFBOX-4095: - As expected, the results are amazingly positive: correct files: - 007087-payment-due-p58.pdf: center color now accurate (lighter) - 007087-payment-due-p58_reduced.pdf: color now accurate (darker) - bugzilla829803.pdf: now correct, top and bottom color of the "egg" now correct - gs-bugzilla578865.pdf: center color now accurate - gs-bugzilla689931.pdf: now correct - gs-bugzilla692721.pdf: now correct, grey shadow now there - PDFBOX-2558-opp.pdf: now correct - PDFBOX-3182.pdf: now correct - PDFJS-6924.pdf: blue photograph now accurate (darker) improved: - BlendModes-rgb.pdf: all separable blending modes now good - gs-bugzilla692766.pdf: image B2 now correct, images A3 and A4 still incorrect - personal file 22579: more colors visible - Isolation-rgb.pdf: upper part of "Difference" improved - PDFBOX-2554-cmykrasterobjecttypes.pdf: parts blended to the background improved (didn't check whether they are correct because we don't fully support CMYK) - A-Designers-Guide-to-Transparency-2007.pdf: p3: left item of "screen" now there; p15: purple items now there; p16: purple item top right now there - Transparency_DesignGuide-2004.pdf: p5: left item of "overlay" now there; p20: purple items now there; p21: purple item top right now there worse: - PDFBOX-2898-Annotations.pdf: caret now yellow. PDF.js has the same problem. Maybe the annotations must be blended to the finished page and not to the "background". I'll leave this unchanged for now. Removing the /AP and letting Adobe create a new one brings an /AP without blending. not improved: - gs-bugzilla691650-2.pdf: still incorrect - gs-bugzilla697433-2.pdf: differently incorrect Thank you again for your help in this matter. > Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY) > > > Key: PDFBOX-4095 > URL: https://issues.apache.org/jira/browse/PDFBOX-4095 > Project: PDFBox > Issue Type: Improvement > Components: Rendering >Affects Versions: 2.0.8 >Reporter: savan patel >Priority: Major > Attachments: BlendComposite.java.patch, BlendMode.java.patch, > COSName.java.patch, blendmodes.pdf, gs-bugzilla690477.pdf, > gs-bugzilla697433-1.pdf > > > I have a patch for implementation of non separable blend modes... -- 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-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
[ https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16364378#comment-16364378 ] ASF subversion and git services commented on PDFBOX-4095: - Commit 1824259 from [~tilman] in branch 'pdfbox/trunk' [ https://svn.apache.org/r1824259 ] PDFBOX-4095, PDFBOX-3000: to solve the problem that some blend modes don't work on the page background, render pages that have blending on a temporary transparent ARGB image and draw that one on the target image initialized with a white background, as suggested by Jani Pehkonen > Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY) > > > Key: PDFBOX-4095 > URL: https://issues.apache.org/jira/browse/PDFBOX-4095 > Project: PDFBox > Issue Type: Improvement > Components: Rendering >Affects Versions: 2.0.8 >Reporter: savan patel >Priority: Major > Attachments: BlendComposite.java.patch, BlendMode.java.patch, > COSName.java.patch, blendmodes.pdf, gs-bugzilla690477.pdf, > gs-bugzilla697433-1.pdf > > > I have a patch for implementation of non separable blend modes... -- 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-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
[ https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16364376#comment-16364376 ] ASF subversion and git services commented on PDFBOX-4095: - Commit 1824258 from [~tilman] in branch 'pdfbox/branches/2.0' [ https://svn.apache.org/r1824258 ] PDFBOX-4095, PDFBOX-3000: to solve the problem that some blend modes don't work on the page background, render pages that have blending on a temporary transparent ARGB image and draw that one on the target image initialized with a white background, as suggested by Jani Pehkonen > Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY) > > > Key: PDFBOX-4095 > URL: https://issues.apache.org/jira/browse/PDFBOX-4095 > Project: PDFBox > Issue Type: Improvement > Components: Rendering >Affects Versions: 2.0.8 >Reporter: savan patel >Priority: Major > Attachments: BlendComposite.java.patch, BlendMode.java.patch, > COSName.java.patch, blendmodes.pdf, gs-bugzilla690477.pdf, > gs-bugzilla697433-1.pdf > > > I have a patch for implementation of non separable blend modes... -- 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-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
[ https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16362868#comment-16362868 ] Tilman Hausherr commented on PDFBOX-4095: - thanks, wow I did a very quick test by adding this to my rendering test {code} BufferedImage image = renderer.renderImageWithDPI(i, 96, ImageType.ARGB); BufferedImage imageWhite = new BufferedImage(image.getWidth(), image.getHeight(), BufferedImage.TYPE_INT_RGB); Graphics2D g = (Graphics2D) imageWhite.getGraphics(); g.setBackground(Color.WHITE); g.clearRect(0, 0, image.getWidth(), image.getHeight()); g.drawImage(image, 0, 0, null); g.dispose(); image = imageWhite; // old code: //BufferedImage image = renderer.renderImageWithDPI(i, 96); // Windows native DPI {code} and the differences are amazing... I'll have to check each one of them. > Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY) > > > Key: PDFBOX-4095 > URL: https://issues.apache.org/jira/browse/PDFBOX-4095 > Project: PDFBox > Issue Type: Improvement > Components: Rendering >Affects Versions: 2.0.8 >Reporter: savan patel >Priority: Major > Attachments: BlendComposite.java.patch, BlendMode.java.patch, > COSName.java.patch, blendmodes.pdf, gs-bugzilla690477.pdf, > gs-bugzilla697433-1.pdf > > > I have a patch for implementation of non separable blend modes... -- 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-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
[ https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16362467#comment-16362467 ] Jani Pehkonen commented on PDFBOX-4095: --- {quote}some blendmodes don't work properly against the page background {quote} The "unmarked space" simply means a raster buffer (like BufferedImage) that is initially fully transparent. This makes the blend modes work. No new graphics engine is needed. See how Mozilla PDF.js has implemented it [here|https://github.com/mozilla/pdf.js/blob/ea3d8450d218dd53619c72c934547fe57f22530f/src/display/canvas.js#L731]. If a PDF page uses any blend modes [other than Normal|https://github.com/mozilla/pdf.js/blob/ea3d8450d218dd53619c72c934547fe57f22530f/src/core/evaluator.js#L226], PDF.js renders everything on a fully transparent RGBA canvas. Finally when the page has been rendered, PDF.js draws the RGBA canvas on a white canvas. When rendering graphics like this in a fully transparent buffer, you are actually implementing _page groups_, which are explained in the PDF 32000 standard in section 11.4.7. > Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY) > > > Key: PDFBOX-4095 > URL: https://issues.apache.org/jira/browse/PDFBOX-4095 > Project: PDFBox > Issue Type: Improvement > Components: Rendering >Affects Versions: 2.0.8 >Reporter: savan patel >Priority: Major > Attachments: BlendComposite.java.patch, BlendMode.java.patch, > COSName.java.patch, blendmodes.pdf, gs-bugzilla690477.pdf, > gs-bugzilla697433-1.pdf > > > I have a patch for implementation of non separable blend modes... -- 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-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
[ https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16355719#comment-16355719 ] Tilman Hausherr commented on PDFBOX-4095: - No it's not... we'd need a new graphics engine. One that knows where there is "nothing". > Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY) > > > Key: PDFBOX-4095 > URL: https://issues.apache.org/jira/browse/PDFBOX-4095 > Project: PDFBox > Issue Type: Improvement > Components: Rendering >Affects Versions: 2.0.8 >Reporter: savan patel >Priority: Major > Attachments: BlendComposite.java.patch, BlendMode.java.patch, > COSName.java.patch, blendmodes.pdf, gs-bugzilla690477.pdf, > gs-bugzilla697433-1.pdf > > > I have a patch for implementation of non separable blend modes... -- 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-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
[ https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16355206#comment-16355206 ] savan patel commented on PDFBOX-4095: - "some blendmodes don't work properly against the page background",,, is this problem fixable??? > Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY) > > > Key: PDFBOX-4095 > URL: https://issues.apache.org/jira/browse/PDFBOX-4095 > Project: PDFBox > Issue Type: Improvement > Components: Rendering >Affects Versions: 2.0.8 >Reporter: savan patel >Priority: Major > Attachments: BlendComposite.java.patch, BlendMode.java.patch, > COSName.java.patch, blendmodes.pdf, gs-bugzilla690477.pdf, > gs-bugzilla697433-1.pdf > > > I have a patch for implementation of non separable blend modes... -- 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-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
[ https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16352676#comment-16352676 ] Tilman Hausherr commented on PDFBOX-4095: - All the advanced ops are tricky... if you haven't already, watch this video: https://www.youtube.com/watch?v=TiqDqd-1pwU . And then some blendmodes don't work properly against the page background (I mentioned this somewhere in PDFBOX-3000, search for "unmarked space"). > Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY) > > > Key: PDFBOX-4095 > URL: https://issues.apache.org/jira/browse/PDFBOX-4095 > Project: PDFBox > Issue Type: Improvement > Components: Rendering >Affects Versions: 2.0.8 >Reporter: savan patel >Priority: Major > Attachments: BlendComposite.java.patch, BlendMode.java.patch, > COSName.java.patch, blendmodes.pdf, gs-bugzilla690477.pdf, > gs-bugzilla697433-1.pdf > > > I have a patch for implementation of non separable blend modes... -- 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-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
[ https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16352151#comment-16352151 ] savan patel commented on PDFBOX-4095: - this isn't any human error i guess,,, i also got error for ([http://www.eci.org/_media/downloads/altona_test_suite/eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf]) this pdf,,, and other pdfs are also not rendering properly,,, so my solution is not working properly... > Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY) > > > Key: PDFBOX-4095 > URL: https://issues.apache.org/jira/browse/PDFBOX-4095 > Project: PDFBox > Issue Type: Improvement > Components: Rendering >Affects Versions: 2.0.8 >Reporter: savan patel >Priority: Major > Attachments: BlendComposite.java.patch, BlendMode.java.patch, > COSName.java.patch, blendmodes.pdf, gs-bugzilla690477.pdf, > gs-bugzilla697433-1.pdf > > > I have a patch for implementation of non separable blend modes... -- 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-4095) Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY)
[ https://issues.apache.org/jira/browse/PDFBOX-4095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16350678#comment-16350678 ] Tilman Hausherr commented on PDFBOX-4095: - Thanks... I tested with many PDFs, there are a lot of differences, some are rendered incorrectly (e.g. [^gs-bugzilla690477.pdf])... maybe start with [http://www.eci.org/_media/downloads/altona_test_suite/eci_altona-test-suite-v2_technical2_one-patch-per-page_x4.pdf] there is an exception (IOOB) on one of the last pages. Of course I can't say for sure if it is a bug in your change, or if your change uncovered bugs that have been there already. It might also be possible that I messed up something while inserting your code. If possible, try attaching real diff / patch files, this avoids any human error. > Non Separable Blend Modes implementation(HUE, SATURATION, COLOR, LUMINOSITY) > > > Key: PDFBOX-4095 > URL: https://issues.apache.org/jira/browse/PDFBOX-4095 > Project: PDFBox > Issue Type: Improvement > Components: Rendering >Affects Versions: 2.0.8 >Reporter: savan patel >Priority: Major > Attachments: BlendComposite.java.patch, BlendMode.java.patch, > COSName.java.patch, blendmodes.pdf, gs-bugzilla690477.pdf, > gs-bugzilla697433-1.pdf > > > I have a patch for implementation of non separable blend modes... -- 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