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
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για