Unpremultiply effect
Use this effect to convert an image from premultiplied alpha to unpremultiplied alpha. The effect replaces each input pixel P = {R, G, B, A}
with P' = {R/A, G/A, B/A, A}
in the output.
This effect has no properties.
The CLSID for this effect is CLSID_D2D1Unpremultiply.
Output bitmap
The output bitmap size is the same as the input bitmap size.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps] |
Minimum supported server | Windows 8 and Platform Update for Windows 7 [desktop apps | Windows Store apps] |
Header | d2d1effects.h |
Library | d2d1.lib, dxguid.lib |
Related topics
Tilbakemeldinger
https://aka.ms/ContentUserFeedback.
Kommer snart: Gjennom 2024 faser vi ut GitHub Issues som tilbakemeldingsmekanisme for innhold, og erstatter det med et nytt system for tilbakemeldinger. Hvis du vil ha mer informasjon, kan du se:Send inn og vis tilbakemelding for