Bitmap::Bitmap method

Creates a Bitmap::Bitmap object based on an IStream COM interface.

Syntax

void Bitmap(
  IN IStream *stream,
  IN BOOL    useEmbeddedColorManagement
);

Parameters

stream

Type: IStream*

Pointer to an IStream COM interface.

useEmbeddedColorManagement

Type: BOOL

Boolean value that specifies whether the new Bitmap::Bitmap object applies color correction according to color management information that is embedded in the stream (represented by the stream parameter). Embedded information can include International Color Consortium (ICC) profiles, gamma values, and chromaticity information. TRUE specifies that color correction is enabled, and FALSE specifies that color correction is not enabled. The default value is FALSE.

Return Value

None

Requirements

   
Minimum supported client Windows XP, Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header gdiplusheaders.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See Also

Bitmap

Bitmap Constructors

Bitmap::FromStream

Image

Images, Bitmaps, and Metafiles

Using Images, Bitmaps, and Metafiles