- Effect inputs and outputs are assumed to be in - premultiplied alpha format, so when this - property is set to Premultiplied, color management is applied directly to the + When this property is set to Straight, color management is applied directly to the input values with no extra conversions.
- If AlphaMode set to Straight, input values will be unpremultiplied, then the - color management applied, and finally the result converted back to premultiplied - format. + If AlphaMode set to Premultiplied (the default), input values will be unpremultiplied, then the + color management applied, and finally the result converted back to premultiplied format + (except in the case of 4-channel color spaces where there is no alpha data).
- 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 + When this property is set to Straight, 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 + If AlphaMode set to Premultiplied (the default), input values will be unpremultiplied, then the color matrix applied, and finally the result converted back to premultiplied format.
diff --git a/winrt/docsrc/effects/EdgeDetectionEffect.xml b/winrt/docsrc/effects/EdgeDetectionEffect.xml index a1e430d43..a1b3ec3b5 100644 --- a/winrt/docsrc/effects/EdgeDetectionEffect.xml +++ b/winrt/docsrc/effects/EdgeDetectionEffect.xml @@ -51,16 +51,14 @@ Licensed under the MIT License. See LICENSE.txt in the project root for license the alpha channel is ignored for purposes of detecting edges.- 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 + When this property is set to Straight, edge detection is applied directly to the input values with no extra conversions.
- If AlphaMode set to Straight, input values will be unpremultiplied, then + If AlphaMode set to Premultiplied (the default), input values will be unpremultiplied, then edge detection applied, and finally the result converted back to premultiplied format.
diff --git a/winrt/docsrc/effects/SepiaEffect.xml b/winrt/docsrc/effects/SepiaEffect.xml index da02a73dd..ad64f4d9c 100644 --- a/winrt/docsrc/effects/SepiaEffect.xml +++ b/winrt/docsrc/effects/SepiaEffect.xml @@ -34,16 +34,14 @@ Licensed under the MIT License. See LICENSE.txt in the project root for license- Effect inputs and outputs are assumed to be in - premultiplied alpha format, so when this - property is set to Premultiplied, the sepia effect is applied directly to the + When this property is set to Straight, the sepia effect is applied directly to the input values with no extra conversions.
- If AlphaMode set to Straight, input values will be unpremultiplied, then the + If AlphaMode set to Premultiplied (the default), input values will be unpremultiplied, then the sepia effect applied, and finally the result converted back to premultiplied format.
diff --git a/winrt/docsrc/effects/TableTransfer3DEffect.xml b/winrt/docsrc/effects/TableTransfer3DEffect.xml index bc6f6f9af..efcc966cd 100644 --- a/winrt/docsrc/effects/TableTransfer3DEffect.xml +++ b/winrt/docsrc/effects/TableTransfer3DEffect.xml @@ -40,16 +40,14 @@ Licensed under the MIT License. See LICENSE.txt in the project root for license- Effect inputs and outputs are assumed to be in - premultiplied alpha format, so when this - property is set to Premultiplied, the transfer table is applied directly to the + When this property is set to Straight, the transfer table is applied directly to the input values with no extra conversions.
- If AlphaMode set to Straight, input values will be unpremultiplied, then the + If AlphaMode set to Premultiplied (the default), input values will be unpremultiplied, then the transfer table applied, and finally the result converted back to premultiplied format.