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)

public enum ImageFlags
/** @attribute FlagsAttribute() */ 
public enum ImageFlags
public enum ImageFlags

 Member nameDescription
CachingThe pixel data can be cached for faster access. 
ColorSpaceCmykThe pixel data uses a CMYK color space. 
ColorSpaceGrayThe pixel data is grayscale. 
ColorSpaceRgbThe pixel data uses an RGB color space. 
ColorSpaceYcbcrSpecifies that the image is stored using a YCBCR color space. 
ColorSpaceYcckSpecifies that the image is stored using a YCCK color space. 
HasAlphaThe pixel 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. 
PartiallyScalableThe pixel data is partially scalable, but there are some limitations. 
ReadOnlyThe pixel data is read-only. 
ScalableThe pixel data is scalable. 

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0