Grayscale effect
Converts an image to monochromatic gray.
Grayscale uses the color matrix effect to convert to grayscale, using the following matrix:
The CLSID for this effect is CLSID_D2D1Grayscale.
Example image
Effect properties
This effect has no properties.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 [desktop apps | Windows Store apps] |
Minimum supported server | Windows 10 [desktop apps | Windows Store apps] |
Header | d2d1effects_2.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