Skip to content

Alpha blending issue #864

@frdbr

Description

@frdbr

Alpha blending doesn't work properly leading to ill-blended artifacts in transitions. See example in Kdenlive bug report. Alpha blending can't be done properly in 8 bits uint because gamma needs to be decoded for alpha to mean occlusion as in the Porter & Duff paper. More information on wikipedia and youtube.

image

A possible solution would be to:

  1. Step one would be to use at least float16
  2. Then undo gamma for every RGB
  3. Then compose, then redo gamma on RGB

This report is compiled from information provided by @aurelienpierreeng here and here

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions