ImageFlags enumeration
Specifies the attributes of the pixel data of an image.
The Flags property of Image returns a combination of these members as a UINT. Test a member with And.
The members combine with Or.
| Member | Value | Description |
|---|---|---|
| ImageFlagsNone | 0 | No format information. |
| ImageFlagsScalable | &H0001 | The image can be scaled. |
| ImageFlagsHasAlpha | &H0002 | The pixel data contains alpha values. |
| ImageFlagsHasTranslucent | &H0004 | The pixel data has alpha values other than 0 (transparent) and 255 (opaque). |
| ImageFlagsPartiallyScalable | &H0008 | The pixel data is partly scalable, with some limitations. |
| ImageFlagsColorSpaceRGB | &H0010 | The image is stored in an RGB colour space. |
| ImageFlagsColorSpaceCMYK | &H0020 | The image is stored in a CMYK colour space. |
| ImageFlagsColorSpaceGRAY | &H0040 | The image is a grayscale image. |
| ImageFlagsColorSpaceYCBCR | &H0080 | The image is stored in a YCbCr colour space. |
| ImageFlagsColorSpaceYCCK | &H0100 | The image is stored in a YCCK colour space. |
| ImageFlagsHasRealDPI | &H1000 | The image holds dots per inch information. |
| ImageFlagsHasRealPixelSize | &H2000 | The image holds the size of its pixels. |
| ImageFlagsReadOnly | &H00010000 | The pixel data is read-only. |
| ImageFlagsCaching | &H00020000 | The pixel data can be cached for faster access. |
Used by
See Also
- ImageFlags – Microsoft’s documentation of the GDI+ enumeration
- Enumerations – all the enumerations of the package
- Image class