The System.Drawing.Imaging namespace provides advanced GDI+ imaging functionality. Basic graphics functionality is provided by the System.Drawing namespace.
The System.Drawing.Imaging.Metafile class provides methods for recording and saving metafiles. The System.Drawing.Imaging.Encoder class enables users to extend GDI+ to support any image format. The System.Drawing.Imaging.PropertyItem class provides methods for storing and retrieving metadata in image files.
Classes within the System.Drawing.Imaging namespace are not supported for use within a Windows or ASP.NET service. Attempting to use these classes from within one of these application types may produce unexpected problems, such as diminished service performance and run-time exceptions.
Type | Reason |
---|---|
BitmapData |
![]() Specifies the attributes of a bitmap image. The System.Drawing.Imaging.BitmapData class is used by the erload:System.Drawing.Bitmap.LockBits and System.Drawing.Bitmap.UnlockBits(System.Drawing.Imaging.BitmapData) methods of the System.Drawing.Bitmap class. Not inheritable. |
ColorAdjustType |
![]() Specifies which GDI+ objects use color adjustment information. |
ColorChannelFlag |
![]() Specifies individual channels in the CMYK (cyan, magenta, yellow, black) color space. This enumeration is used by the erload:System.Drawing.Imaging.ImageAttributes.SetOutputChannel methods. |
ColorMap |
![]() Defines a map for converting colors. Several methods of the System.Drawing.Imaging.ImageAttributes class adjust image colors by using a color-remap table, which is an array of System.Drawing.Imaging.ColorMap structures. Not inheritable. |
ColorMapType |
![]() Specifies the types of color maps. |
ColorMatrix |
![]() Defines a 5 x 5 matrix that contains the coordinates for the RGBAW space. Several methods of the System.Drawing.Imaging.ImageAttributes class adjust image colors by using a color matrix. This class cannot be inherited. |
ColorMatrixFlag |
![]() Specifies the types of images and colors that will be affected by the color and grayscale adjustment settings of an System.Drawing.Imaging.ImageAttributes. |
ColorMode |
![]() Specifies two modes for color component values. |
ColorPalette |
![]() Defines an array of colors that make up a color palette. The colors are 32-bit ARGB colors. Not inheritable. |
EmfPlusRecordType |
![]() Specifies the methods available for use with a metafile to read and write graphic commands. |
EmfType |
![]() Specifies the nature of the records that are placed in an Enhanced Metafile (EMF) file. This enumeration is used by several constructors in the System.Drawing.Imaging.Metafile class. |
Encoder |
![]() An System.Drawing.Imaging.Encoder object encapsulates a globally unique identifier (GUID) that identifies the category of an image encoder parameter. |
EncoderParameter |
![]() Used to pass a value, or an array of values, to an image encoder. |
EncoderParameters |
![]() Encapsulates an array of System.Drawing.Imaging.EncoderParameter objects. |
EncoderParameterValueType |
![]() Used to specify the data type of the System.Drawing.Imaging.EncoderParameter used with the erload:System.Drawing.Image.Save or erload:System.Drawing.Image.SaveAdd method of an image. |
EncoderValue |
![]() Used to specify the parameter value passed to a JPEG or TIFF image encoder when using the System.Drawing.Image.Save(string, System.Drawing.Imaging.ImageCodecInfo, System.Drawing.Imaging.EncoderParameters) or System.Drawing.Image.SaveAdd(System.Drawing.Imaging.EncoderParameters) methods. |
FrameDimension |
![]() Provides properties that get the frame dimensions of an image. Not inheritable. |
ImageAttributes |
![]() Contains information about how bitmap and metafile colors are manipulated during rendering. |
ImageCodecFlags |
![]() Provides attributes of an image encoder/decoder (codec). |
ImageCodecInfo |
![]() The System.Drawing.Imaging.ImageCodecInfo class provides the necessary storage members and methods to retrieve all pertinent information about the installed image encoders and decoders (called codecs). Not inheritable. |
ImageFlags |
![]() Specifies the attributes of the pixel data contained in an System.Drawing.Image object. The System.Drawing.Image.Flags property returns a member of this enumeration. |
ImageFormat |
![]() Specifies the file format of the image. Not inheritable. |
ImageLockMode |
![]() Specifies flags that are passed to the flags parameter of the erload:System.Drawing.Bitmap.LockBits method. The erload:System.Drawing.Bitmap.LockBits method locks a portion of an image so that you can read or write the pixel data. |
Metafile |
![]() Defines a graphic metafile. A metafile contains records that describe a sequence of graphics operations that can be recorded (constructed) and played back (displayed). This class is not inheritable. |
MetafileFrameUnit |
![]() Specifies the unit of measurement for the rectangle used to size and position a metafile. This is specified during the creation of the System.Drawing.Imaging.Metafile object. |
MetafileHeader |
![]() Contains attributes of an associated System.Drawing.Imaging.Metafile. Not inheritable. |
MetafileType |
![]() Specifies types of metafiles. The System.Drawing.Imaging.MetafileHeader.Type property returns a member of this enumeration. |
MetaHeader |
![]() Contains information about a windows-format (WMF) metafile. |
PaletteFlags |
![]() Specifies the type of color data in the system palette. The data can be color data with alpha, grayscale data only, or halftone data. |
PixelFormat |
![]() Specifies the format of the color data for each pixel in the image. |
PlayRecordCallback |
![]() This delegate is not used. For an example of enumerating the records of a metafile, see System.Drawing.Graphics.EnumerateMetafile(System.Drawing.Imaging.Metafile, System.Drawing.Point, System.Drawing.Graphics.EnumerateMetafileProc). |
PropertyItem |
![]() Encapsulates a metadata property to be included in an image file. Not inheritable. |
WmfPlaceableFileHeader |
![]() Defines a placeable metafile. Not inheritable. |