premultiplying
Premultiplying, or premultiplied alpha, is a technique used in digital image compositing in which the color channels are stored already multiplied by the alpha transparency. This contrasts with straight (unassociated) alpha, where the RGB channels are stored independently of the alpha value.
In a pixel with alpha A in the range [0, 1], the premultiplied color channels are R'
Conversions between representations are straightforward. To convert from straight to premultiplied, multiply the RGB channels by
Formats and usage: premultiplied alpha is common in graphics pipelines, GPUs, and video compositing because it