Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Defines methods that add the concept of writeability and static in-memory representations of bitmaps to IWICBitmapSource.
Inheritance
The IWICBitmap interface inherits from IWICBitmapSource. IWICBitmap also has these types of members:
Methods
The IWICBitmap interface has these methods.
IWICBitmap::Lock Provides access to a rectangular area of the bitmap. |
IWICBitmap::SetPalette Provides access for palette modifications. |
IWICBitmap::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 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.
Requirements
Requirement | Value |
---|---|
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 |