ID2D1DeviceContext2::CreateImageSourceFromWic methods

Creates an image source object from a WIC bitmap source, while populating all pixel memory within the image source. The image is loaded and stored while using a minimal amount of memory.

Overload list

Method Description
CreateImageSourceFromWic (IWICBitmapSource*, D2D1_IMAGE_SOURCE_LOADING_OPTIONS, ID2D1ImageSourceFromWic**) Version of the method that allows you to specify the WIC bitmap source, the output image source object, and loading options with default alpha mode.
CreateImageSourceFromWic (IWICBitmapSource*, D2D1_IMAGE_SOURCE_LOADING_OPTIONS, D2D1_ALPHA_MODE, ID2D1ImageSourceFromWic**) Version of the method that allows you to specify the WIC bitmap source, the output image source object, and loading options, and alpha mode.
CreateImageSourceFromWic (IWICBitmapSource*, ID2D1ImageSourceFromWic**) Version of the method that allows you to specify the WIC bitmap source and the output image source object with default loading options and alpha mode.

Requirements

Requirement Value
Header
D2d1_3.h

See also

ID2D1DeviceContext2