- From: LazurURH via GitHub <sysbot+gh@w3.org>
- Date: Sat, 03 Mar 2018 02:24:09 +0000
- To: public-fxtf-archive@w3.org
LazurURH has just created a new issue for https://github.com/w3c/fxtf-drafts: == new composite-mode for globalCompositeOperation == Hello everyone, my first post here. Problem is related to [https://drafts.fxtf.org/compositing-1/#canvascompositingandblending](url) more specifically to [https://drafts.fxtf.org/compositing-1/#whatiscompositing](url) example 9 ![image](https://user-images.githubusercontent.com/31376053/36929445-01536606-1e91-11e8-9ddd-9db6fee346c8.png) Would request a new compositing method that can be set within group/layer/object fill/document etc. that'd add up alpha values to 1. Not the currently initial, nor the given other options are producing the aimed effect: if objects are semi-transparent atop eachother, the alpha values are adding up from top to bottom to 1 and the rest is cut from the equation. For uses where multiple opacities are present it may not be useful, but it is an ultimate solution to handle the anti-aliasing "gap issue" -when objects are exactly next to eachother, the backdrop shows through in between them where they "shouldn't". Issue is most prevalent on low-poly art and pixelart, like this: https://openclipart.org/image/600px/svg_to_png/283371/Valentine-3.png ![image](https://user-images.githubusercontent.com/31376053/36929533-410f4070-1e92-11e8-91b1-f51e2c19e74d.png) 600 px/600 px image, gaps shows at edges in full scale. Made these svg-s with custom filtering before, which were using composite filter primitives in arithmetic rendering mode that added up all the pulled in images alphas: https://openclipart.org/detail/250219/compositeadd https://openclipart.org/detail/262016/compositing-test-with-filtering-2 It is quite tedious pulling in every object to be composited into one filter chain, and it'd be a mess if the sum of opacities would go over 1 (cut is missing, in that case the colours are washed out in the example). Yet it shows a working example of the conceptthat can be used to build upon. tags: '[compositing]', '[rendering]' Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/262 using your GitHub account
Received on Saturday, 3 March 2018 02:24:23 UTC