1. 04 Jun, 2024 1 commit
    • Denys Smirnov's avatar
      Fix alpha in PorterDuffImageComposite. (#3411) · 20447e9e
      Denys Smirnov authored
      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.
      20447e9e
  2. 08 Oct, 2023 1 commit
  3. 04 Oct, 2023 6 commits