Premultiplied Color with Alpha
A premultiplied representation stores color components already multiplied by alpha. That choice changes which arithmetic is used when combining samples.
- Source
- Anbloq
- Language
- English
- Created
- Updated
- Chapters
- 2
- Reading time
- 1 min
In this article2 chapters
Trace an example
Red at alpha one half can store the pair of alpha one half and red contribution one half, with other components zero. The corresponding straight red component is one. See foreground compositing.
Check zero alpha
The premultiplied color contribution is zero when alpha is zero. Recovering a unique straight color by division is then impossible. See zero handling for the related interface distinction.[1]