Browse Source
There were two bugs in PorterDuffImageComposite.
The first one is the fact that it uses the mask input directly as alpha, missing the conversion (`1-a`). The fix is similar to c16f5744
.
The second one is that all color composition formulas assume alpha premultiplied values, while the input is not premultiplied.
This change fixes both of these issue.
pull/3411/head
Denys Smirnov
7 months ago
1 changed files with 16 additions and 3 deletions
Loading…
Reference in new issue