Skip to main content

ImageFlags

Namespace: System.Drawing.Imaging

Assembly: System.Drawing.Managed (4.0.0.0)

Specifies the attributes of the pixel data contained in an Image object.

public enum ImageFlags : Enum

Fields

NameDescription
CachingPixel data can be cached for faster access.
ColorSpaceCmykPixel data uses a CMYK color space.
ColorSpaceGrayPixel data is grayscale.
ColorSpaceRgbPixel data uses an RGB color space.
ColorSpaceYcbcrPixel data uses a YCBCR color space.
ColorSpaceYcckPixel data uses a YCCK color space.
HasAlphaPixel data contains alpha information.
HasRealDpiSpecifies that dots per inch information is stored in the image.
HasRealPixelSizeSpecifies that the pixel size is stored in the image.
HasTranslucentSpecifies that the pixel data has alpha values other than 0 (transparent) and 255 (opaque).
NoneThere is no format information.
PartiallyScalablePixel data is partially scalable, but there are some limitations.
ReadOnlyPixel data is read-only.
ScalablePixel data is scalable.