Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CreateBitmapFromWicBitmap Overloaded method
Collapse the table of content
Expand the table of content

ID2D1RenderTarget::CreateBitmapFromWicBitmap methods

Creates an ID2D1Bitmap by copying the specified Microsoft Windows Imaging Component (WIC) bitmap.

Overload list

MethodDescription
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.

Remarks

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.

Examples

For examples, see How to Load a Bitmap from a File and How to Load a Bitmap from a Resource.

Requirements

Library

D2d1.lib

DLL

D2d1.dll

See also

ID2D1RenderTarget
ID2D1Bitmap
How to Load a Bitmap from a File
Supported Pixel Formats and Alpha Modes

 

 

Community Additions

ADD
Show:
© 2015 Microsoft