IWICColorContext interface (wincodec.h)

Exposes methods for color management.

Inheritance

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

Methods

The IWICColorContext interface has these methods.

 
IWICColorContext::GetExifColorSpace

Retrieves the Exchangeable Image File (EXIF) color space color context.
IWICColorContext::GetProfileBytes

Retrieves the color context profile.
IWICColorContext::GetType

Retrieves the color context type. (IWICColorContext.GetType)
IWICColorContext::InitializeFromExifColorSpace

Initializes the color context using an Exchangeable Image File (EXIF) color space.
IWICColorContext::InitializeFromFilename

Initializes the color context from the given file.
IWICColorContext::InitializeFromMemory

Initializes the color context from a memory block.

Remarks

A Color Context is an abstraction for a color profile. The profile can either be loaded from a file (like "sRGB Color Space Profile.icm"), read from a memory buffer, or can be defined by an EXIF color space. The system color profile directory can be obtained by calling GetColorDirectoryW.

Once a color context has been initialized, it cannot be re-initialized.

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