Enum ImageFlags

ImageFlags enumeration

Specifies the attributes of the pixel data contained in an Image object. The Flags property returns a member of this enumeration. This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[Flags]
public enum ImageFlags

Values

NameValueDescription
None0There is no format information
Scalable1The pixel data is scalable.
HasAlpha2The pixel data contains alpha information.
HasTranslucent4Specifies that the pixel data has alpha values other than 0 (transparent) and 255 (opaque)
PartiallyScalable8The pixel data is partially scalable, but there are some limitations.
ColorSpaceRgb10The pixel data uses an RGB color space.
ColorSpaceCmyk20The pixel data uses a CMYK color space.
ColorSpaceGray40The pixel data is grayscale.
ColorSpaceYcbcr80Specifies that the image is stored using a YCBCR color space.
ColorSpaceYcck100Specifies that the image is stored using a YCCK color space.
HasRealDpi1000Specifies that dots per inch information is stored in the image.
HasRealPixelSize2000Specifies that the pixel size is stored in the image.
ReadOnly10000The pixel data is read-only.
Caching20000The pixel data can be cached for faster access.

See Also