ColorMatrixEffectAlphaMode Property |
Namespace: Microsoft.Graphics.Canvas.Effects
Effect inputs and outputs are assumed to be in premultiplied alpha format, so when this property is set to Premultiplied, the color matrix is applied directly to the input values with no extra conversions.
If AlphaMode set to Straight, input values will be unpremultiplied, then the color matrix applied, and finally the result converted back to premultiplied format.