Title: Alternative compositing methods · Issue #6210 · matplotlib/matplotlib · GitHub
Open Graph Title: Alternative compositing methods · Issue #6210 · matplotlib/matplotlib
X Title: Alternative compositing methods · Issue #6210 · matplotlib/matplotlib
Description: I'm wondering if there is general interest in having other alpha/color compositing modes for filling edges and patches in MPL. I'd love to have all the classical Porter/Duff operators. I find alpha blending very limiting. If I want to ov...
Open Graph Description: I'm wondering if there is general interest in having other alpha/color compositing modes for filling edges and patches in MPL. I'd love to have all the classical Porter/Duff operators. I find alpha...
X Description: I'm wondering if there is general interest in having other alpha/color compositing modes for filling edges and patches in MPL. I'd love to have all the classical Porter/Duff operators. I fi...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/6210
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Alternative compositing methods","articleBody":"I'm wondering if there is general interest in having other alpha/color compositing modes for filling edges and patches in MPL. I'd love to have all the classical Porter/Duff operators.\n\nI find alpha blending _very_ limiting. If I want to overlay two datasets while preserving decent luminosity in the output, there are very few light colors that work well and retain good contrast. HSL color blending would in almost all cases provide better results.\n\nIf I want to highlight the intersection between two areas, alpha blending incurs into the same problem. I need to calculate the intersection myself for good results. With simple XORing I wouldn't have to.\n\nAt least with the cairo backend, it shouldn't be hard to implement, as it has native support for all the classical compositing operators (http://cairographics.org/operators/). I cannot comment on other backends. The blending operator would need to be an extra property of both patches and edges, although for proper compositing you might (as the user) need to separate rasterization of the two for proper results.\n\nGeneral comments?\n","author":{"url":"https://github.com/wavexx","@type":"Person","name":"wavexx"},"datePublished":"2016-03-23T15:11:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/6210/matplotlib/issues/6210"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a8455b47-51e3-794d-794b-90f435a0248f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9F48:3E37F3:24D6FAC:310C63B:6A5200F5 |
| html-safe-nonce | 97b8f7801dfabaaae414a0afbe2f7ce3e4d16d84fbb97d6c7045051dba7c2982 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RjQ4OjNFMzdGMzoyNEQ2RkFDOjMxMEM2M0I6NkE1MjAwRjUiLCJ2aXNpdG9yX2lkIjoiNjY3NTk0MjAyMzg3NzQ5Mjk4MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 83ad7b4fe4f90990163ad27fd649259551fc8b962bf01b9d122e6bd3b73d397a |
| hovercard-subject-tag | issue:142987698 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/6210/issue_layout |
| twitter:image | https://opengraph.githubassets.com/56219df668998b74341f61427ba4c56899d194cd76d74ffcda6669adda97c0df/matplotlib/matplotlib/issues/6210 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/56219df668998b74341f61427ba4c56899d194cd76d74ffcda6669adda97c0df/matplotlib/matplotlib/issues/6210 |
| og:image:alt | I'm wondering if there is general interest in having other alpha/color compositing modes for filling edges and patches in MPL. I'd love to have all the classical Porter/Duff operators. I find alpha... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | wavexx |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width