IWICBitmap interface (wincodec.h)

Defines methods that add the concept of writeability and static in-memory representations of bitmaps to IWICBitmapSource.


The IWICBitmap interface inherits from IWICBitmapSource. IWICBitmap also has these types of members:


The IWICBitmap interface has these methods.


Provides access to a rectangular area of the bitmap.

Provides access for palette modifications.

Changes the physical resolution of the image.


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


Minimum supported client Windows XP with SP2, Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header wincodec.h