The color obtained by premultiplying the red, green, and blue components of this color with its alpha channel, performing the premultiplication in the given integer type.
The integer type to perform the premultiplications in.
U.bitWidthmust be less than
The premultiplied color.
Premultiplication in a different integer type is sometimes necessary to reproduce the output of other image processing frameworks.
The premultiplied color is obtained by invoking
b, after scaling them to the range of
U. The returned components are then scaled back to the range of
T. The rescaling operation also affects the