IWICBitmapSource interface

Exposes methods that refers to a source from which pixels are retrieved, but cannot be written back to.


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


The IWICBitmapSource interface has these methods.

Method Description
IWICBitmapSource::CopyPalette Retrieves the color table for indexed pixel formats.
IWICBitmapSource::CopyPixels Instructs the object to produce pixels.
IWICBitmapSource::GetPixelFormat Retrieves the pixel format of the bitmap source..
IWICBitmapSource::GetResolution Retrieves the sampling rate between pixels and physical world measurements.
IWICBitmapSource::GetSize Retrieves the pixel width and height of the bitmap.


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.


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

See also