Image::Image(constWCHAR,BOOL) method (gdiplusheaders.h)
Creates an Image::Image object based on a file.
void Image( [in] const WCHAR *filename, [in] BOOL useEmbeddedColorManagement );
Type: const WCHAR*
Pointer to a wide-character string that specifies the name of the file.
Optional. Boolean value that specifies whether the new Image::Image object applies color correction according to color management information that is embedded in the image file. 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
You can construct Image::Image objects based on files of a variety of types including BMP, Graphics Interchange Format (GIF), JPEG, PNG, TIFF, and EMF.
|Minimum supported client||Windows XP, Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|
|Header||gdiplusheaders.h (include Gdiplus.h)|