title | description | ms.assetid | keywords | topic_type | api_location | api_type | ms.topic | ms.date | api_name | ||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
ID2D1RenderTarget CreateBitmapFromWicBitmap methods |
Creates an ID2D1Bitmap by copying the specified Microsoft Windows Imaging Component (WIC) bitmap. |
463fc2f9-8ec6-47e8-8d48-a9015616e656 |
|
|
|
|
reference |
05/31/2018 |
Creates an ID2D1Bitmap by copying the specified Microsoft Windows Imaging Component (WIC) bitmap.
Method | Description |
---|---|
CreateBitmapFromWicBitmap(IWICBitmapSource*,ID2D1Bitmap**) | Creates an ID2D1Bitmap by copying the specified Microsoft Windows Imaging Component(WIC) bitmap. |
CreateBitmapFromWicBitmap(IWICBitmapSource*,D2D1_BITMAP_PROPERTIES&,ID2D1Bitmap**) | Creates an ID2D1Bitmap by copying the specified Microsoft Windows Imaging Component (WIC) bitmap. |
CreateBitmapFromWicBitmap(IWICBitmapSource*,D2D1_BITMAP_PROPERTIES*,ID2D1Bitmap**) | Creates an ID2D1Bitmap by copying the specified Microsoft Windows Imaging Component (WIC) bitmap. |
Before Direct2D can load a WIC image, it must be converted to a supported pixel format and alpha mode. For a list of supported pixel formats and alpha modes, see Supported Pixel Formats and Alpha Modes.
For examples, see How to Load a Bitmap from a File and How to Load a Bitmap from a Resource.
Requirement | Value |
---|---|
Library |
|
DLL |
|