Re: [fxtf-drafts] [compositing] Question: How to properly blend and composite isolated groups (#440)

> I think the one thing it's missing is the final unpremultiplication at the end of flattenColors; simpleAlphaCompositing gives you a premultiplied component but the Color constructor takes unpremultiplied components. So the code will give incorrect results whenever the composited result is non-opaque

Oh, So we need to divide the rgb values by the final alpha value?

-- 
GitHub Notification of comment by straker
Please view or discuss this issue at https://github.com/w3c/fxtf-drafts/issues/440#issuecomment-956418953 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 1 November 2021 17:11:11 UTC