EdgeDetectionEffectAlphaMode 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, edge detection is applied directly to the input values with no extra conversions.
If AlphaMode set to Straight, input values will be unpremultiplied, then edge detection applied, and finally the result converted back to premultiplied format.