System.Drawing.Imaging.ImageAttributes Class

Contains information about how bitmap and metafile colors are manipulated during rendering.

See Also: ImageAttributes Members

Syntax

public sealed class ImageAttributes : ICloneable, IDisposable

Remarks

An System.Drawing.Imaging.ImageAttributes object maintains several color-adjustment settings, including color-adjustment matrices, grayscale-adjustment matrices, gamma-correction values, color-map tables, and color-threshold values. During rendering, colors can be corrected, darkened, lightened, and removed. To apply such manipulations, initialize an System.Drawing.Imaging.ImageAttributes object and pass the path of that System.Drawing.Imaging.ImageAttributes object (along with the path of an System.Drawing.Image) to the erload:System.Drawing.Graphics.DrawImage method.

Requirements

Namespace: System.Drawing.Imaging
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0