Exposes methods that refers to a source from which pixels are retrieved, but cannot be written back to.
IWICBitmapSource Members
| CopyPalette | Retrieves the color table for indexed pixel formats. |
| CopyPixels | Instructs the object to produce pixels. |
| GetPixelFormat | Retrieves the pixel format the pixels are stored in. |
| GetResolution | Retrieves the sampling rate between pixels and physical world measurements. |
| GetSize | Retrieves the pixel width and height of the bitmap. |
Remarks
This interface provides a common way of accessing and linking together bitmaps, decoders, format converters, and scalers. Components that implement this interface can be connected together in a graph to pull imaging data through.
This interface defines only the notion of readability or being able to produce pixels. Modifying or writing to a bitmap is considered to be a specialization specific to bitmaps which have storage and is defined in the descendant interface IWICBitmap.
Interface Information
| Stock Implementation | windowscodecs.dll |
|---|
| Custom Implementation | Yes |
|---|
| Inherits from | IUnknown |
|---|
| Header and IDL files | wincodec.h, wincodec.idl |
|---|
| Import library | windowscodecs.lib |
|---|
| Minimum operating systems |
Windows XP Service Pack 2 (SP2) with Microsoft .Net 3.0, Windows Vista |
|---|
See Also
IWICBitmap