Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
The ImageFlags enumeration specifies the attributes of the pixel data contained in an Image object. The Image::GetFlags method returns an element of this enumeration.
Syntax
typedef enum ImageFlags {
ImageFlagsNone = 0,
ImageFlagsScalable = 0x0001,
ImageFlagsHasAlpha = 0x0002,
ImageFlagsHasTranslucent = 0x0004,
ImageFlagsPartiallyScalable = 0x0008,
ImageFlagsColorSpaceRGB = 0x0010,
ImageFlagsColorSpaceCMYK = 0x0020,
ImageFlagsColorSpaceGRAY = 0x0040,
ImageFlagsColorSpaceYCBCR = 0x0080,
ImageFlagsColorSpaceYCCK = 0x0100,
ImageFlagsHasRealDPI = 0x1000,
ImageFlagsHasRealPixelSize = 0x2000,
ImageFlagsReadOnly = 0x00010000,
ImageFlagsCaching = 0x00020000
} ;
Constants
ImageFlagsNoneValue: 0 Specifies no format information. |
ImageFlagsScalableValue: 0x0001 Specifies that the image can be scaled. |
ImageFlagsHasAlphaValue: 0x0002 Specifies that the pixel data contains alpha values. |
ImageFlagsHasTranslucentValue: 0x0004 Specifies that the pixel data has alpha values other than 0 (transparent) and 255 (opaque). |
ImageFlagsPartiallyScalableValue: 0x0008 Specifies that the pixel data is partially scalable with some limitations. |
ImageFlagsColorSpaceRGBValue: 0x0010 Specifies that the image is stored using an RGB color space. |
ImageFlagsColorSpaceCMYKValue: 0x0020 Specifies that the image is stored using a CMYK color space. |
ImageFlagsColorSpaceGRAYValue: 0x0040 Specifies that the image is a grayscale image. |
ImageFlagsColorSpaceYCBCRValue: 0x0080 Specifies that the image is stored using a YCBCR color space. |
ImageFlagsColorSpaceYCCKValue: 0x0100 Specifies that the image is stored using a YCCK color space. |
ImageFlagsHasRealDPIValue: 0x1000 Specifies that dots per inch information is stored in the image. |
ImageFlagsHasRealPixelSizeValue: 0x2000 Specifies that the pixel size is stored in the image. |
ImageFlagsReadOnlyValue: 0x00010000 Specifies that the pixel data is read-only. |
ImageFlagsCachingValue: 0x00020000 Specifies that the pixel data can be cached for faster access. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP, Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Header | gdiplusimaging.h (include Gdiplus.h) |