IWICBitmap interface
Defines methods that add the concept of writeability and static in-memory representations of bitmaps to IWICBitmapSource.
Members
The IWICBitmap interface inherits from IWICBitmapSource. IWICBitmap also has these types of members:
Methods
The IWICBitmap interface has these methods.
| Method | Description |
|---|---|
| Lock |
Provides access to a rectangular area of the bitmap. |
| SetPalette |
Provides access for palette modifications. |
| SetResolution |
Changes the physical resolution of the image. |
Remarks
IWICBitmap inherits from IWICBitmapSource and therefore also inherits the CopyPixels method. When pixels need to be moved to a new memory location, CopyPixels is often the most efficient.
Because of to the internal memory representation implied by the IWICBitmap, in-place modification and processing using the Lock is more efficient than CopyPixels, usually reducing to a simple pointer access directly into the memory owned by the bitmap rather than a as a copy. This is contrasted to procedural bitmaps which implement only CopyPixels because there is no internal memory representation and one would need to be created on demand to satisfy a call to Lock.
Requirements
|
Minimum supported client |
Windows XP with SP2, Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2008 [desktop apps | Windows Store apps] |
|
Header |
|
|
IDL |
|
|
Library |
|
|
DLL |
|