0 out of 2 rated this helpful - Rate this topic

System.Drawing.Imaging Namespace

The System.Drawing.Imaging namespace provides advanced GDI+ imaging functionality. Basic graphics functionality is provided by the System.Drawing namespace.

The Metafile class provides methods for recording and saving metafiles. The Encoder class enables users to extend GDI+ to support any image format. The PropertyItem class provides methods for storing and retrieving metadata in image files.

Caution note Caution

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.

  Class Description
Public class BitmapData Specifies the attributes of a bitmap image. The BitmapData class is used by the LockBits and UnlockBits methods of the Bitmap class. Not inheritable.
Public class ColorMap Defines a map for converting colors. Several methods of the ImageAttributes class adjust image colors by using a color-remap table, which is an array of ColorMap structures. Not inheritable.
Public class ColorMatrix Defines a 5 x 5 matrix that contains the coordinates for the RGBAW space. Several methods of the ImageAttributes class adjust image colors by using a color matrix. This class cannot be inherited.
Public class ColorPalette Defines an array of colors that make up a color palette. The colors are 32-bit ARGB colors. Not inheritable.
Public class Encoder An Encoder object encapsulates a globally unique identifier (GUID) that identifies the category of an image encoder parameter.
Public class EncoderParameter Used to pass a value, or an array of values, to an image encoder.
Public class EncoderParameters Encapsulates an array of EncoderParameter objects.
Public class FrameDimension Provides properties that get the frame dimensions of an image. Not inheritable.
Public class ImageAttributes Contains information about how bitmap and metafile colors are manipulated during rendering.
Public class ImageCodecInfo The 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.
Public class ImageFormat Specifies the file format of the image. Not inheritable.
Public class 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.
Public class MetafileHeader Contains attributes of an associated Metafile. Not inheritable.
Public class MetaHeader Contains information about a windows-format (WMF) metafile.
Public class PropertyItem Encapsulates a metadata property to be included in an image file. Not inheritable.
Public class WmfPlaceableFileHeader Defines a placeable metafile. Not inheritable.
  Delegate Description
Public delegate PlayRecordCallback This delegate is not used. For an example of enumerating the records of a metafile, see EnumerateMetafile.
  Enumeration Description
Public enumeration ColorAdjustType Specifies which GDI+ objects use color adjustment information.
Public enumeration ColorChannelFlag Specifies individual channels in the CMYK (cyan, magenta, yellow, black) color space. This enumeration is used by the SetOutputChannel methods.
Public enumeration ColorMapType Specifies the types of color maps.
Public enumeration ColorMatrixFlag Specifies the types of images and colors that will be affected by the color and grayscale adjustment settings of an ImageAttributes.
Public enumeration ColorMode Specifies two modes for color component values.
Public enumeration EmfPlusRecordType Specifies the methods available for use with a metafile to read and write graphic commands.
Public enumeration 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 Metafile class.
Public enumeration EncoderParameterValueType Used to specify the data type of the EncoderParameter used with the Save or SaveAdd method of an image.
Public enumeration EncoderValue Used to specify the parameter value passed to a JPEG or TIFF image encoder when using the Image.Save or Image.SaveAdd methods.
Public enumeration ImageCodecFlags Provides attributes of an image encoder/decoder (codec).
Public enumeration ImageFlags Specifies the attributes of the pixel data contained in an Image object. The Flags property returns a member of this enumeration.
Public enumeration ImageLockMode Specifies flags that are passed to the flags parameter of the LockBits method. The LockBits method locks a portion of an image so that you can read or write the pixel data.
Public enumeration MetafileFrameUnit Specifies the unit of measurement for the rectangle used to size and position a metafile. This is specified during the creation of the Metafile object.
Public enumeration MetafileType Specifies types of metafiles. The MetafileHeader.Type property returns a member of this enumeration.
Public enumeration 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.
Public enumeration PixelFormat Specifies the format of the color data for each pixel in the image.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.