Bitmap.Bitmap(IStream*, BOOL) constructor

Applies to: desktop apps only

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

Syntax

Bitmap(
  [in]  IStream *stream,
  [in]  BOOL useIcm
);

Parameters

  • stream [in]
    Type: IStream*

    Pointer to an IStream COM interface.

  • useIcm [in]
    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.

Requirements

Minimum supported client

Windows XP, Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Product

GDI+ 1.0

Header

Gdiplusheaders.h (include Gdiplus.h)

Library

Gdiplus.lib

DLL

Gdiplus.dll

See also

Bitmap

Bitmap Constructors

Bitmap::FromStream

Image

Using Images, Bitmaps, and Metafiles

Images, Bitmaps, and Metafiles

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012