This topic has not yet been rated - Rate this topic

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.

Namespace:  System.Drawing.Imaging
Assembly:  System.Drawing (in System.Drawing.dll)
[FlagsAttribute]
public enum ImageFlags
Member name Description
None There is no format information.
Scalable The pixel data is scalable.
HasAlpha The pixel data contains alpha information.
HasTranslucent Specifies that the pixel data has alpha values other than 0 (transparent) and 255 (opaque).
PartiallyScalable The pixel data is partially scalable, but there are some limitations.
ColorSpaceRgb The pixel data uses an RGB color space.
ColorSpaceCmyk The pixel data uses a CMYK color space.
ColorSpaceGray The pixel data is grayscale.
ColorSpaceYcbcr Specifies that the image is stored using a YCBCR color space.
ColorSpaceYcck Specifies that the image is stored using a YCCK color space.
HasRealDpi Specifies that dots per inch information is stored in the image.
HasRealPixelSize Specifies that the pixel size is stored in the image.
ReadOnly The pixel data is read-only.
Caching The pixel data can be cached for faster access.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ