Image::Image(IStream*,BOOL) method (gdiplusheaders.h)
Creates an Image::Image object based on a stream.
void Image(
[in] IStream *stream,
[in] BOOL useEmbeddedColorManagement
);
[in] stream
Type: IStream*
Pointer to an IStream interface. The implementation of IStream must include the Seek, Read, and Stat methods.
[in] useEmbeddedColorManagement
Type: BOOL
Optional. BOOL value that specifies whether the new Image::Image object applies color correction according to color management information that is embedded in the stream. Embedded information can include ICC profiles, gamma values, and chromaticity information.
Default. Specifies that color correction is enabled
Specifies that color correction is not enabled
None
Requirement | Value |
---|---|
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 |