ImageAttributes Class
An ImageAttributes object contains information about how bitmap and metafile colors are manipulated during rendering. An 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 ImageAttributes object and pass the path of that ImageAttributes object (along with the path of an Image) to the DrawImage method.
Inheritance Hierarchy
SystemObject
  Aspose.ImagingImageAttributes

Namespace: Aspose.Imaging
Assembly: Aspose.Imaging (in Aspose.Imaging.dll) Version: 19.9
Syntax
[SerializableAttribute]
public sealed class ImageAttributes

The ImageAttributes type exposes the following members.

Constructors
  NameDescription
Public methodImageAttributes
Initializes a new instance of the ImageAttributes class
Methods
  NameDescription
Public methodClearBrushRemapTable
Clears the brush color-remap table of this ImageAttributes object.
Public methodClearColorKey
Clears the color key (transparency range) for the default category.
Public methodClearColorKey(ColorAdjustType)
Clears the color key (transparency range) for a specified category.
Public methodClearColorMatrix
Clears the color-adjustment matrix for the default category.
Public methodClearColorMatrix(ColorAdjustType)
Clears the color-adjustment matrix for a specified category.
Public methodClearGamma
Disables gamma correction for the default category.
Public methodClearGamma(ColorAdjustType)
Disables gamma correction for a specified category.
Public methodClearNoOp
Clears the NoOp setting for the default category.
Public methodClearNoOp(ColorAdjustType)
Clears the NoOp setting for a specified category.
Public methodClearOutputChannel
Clears the CMYK (cyan-magenta-yellow-black) output channel setting for the default category.
Public methodClearOutputChannel(ColorAdjustType)
Clears the (cyan-magenta-yellow-black) output channel setting for a specified category.
Public methodClearOutputChannelColorProfile
Clears the output channel color profile setting for the default category.
Public methodClearOutputChannelColorProfile(ColorAdjustType)
Clears the output channel color profile setting for a specified category.
Public methodClearRemapTable
Clears the color-remap table for the default category.
Public methodClearRemapTable(ColorAdjustType)
Clears the color-remap table for a specified category.
Public methodClearThreshold
Clears the threshold value for the default category.
Public methodClearThreshold(ColorAdjustType)
Clears the threshold value for a specified category.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodSetBrushRemapTable
Sets the color-remap table for the brush category.
Public methodSetColorKey(Color, Color)
Sets the color key for the default category.
Public methodSetColorKey(Color, Color, ColorAdjustType)
Sets the color key (transparency range) for a specified category.
Public methodSetColorMatrices(ColorMatrix, ColorMatrix)
Sets the color-adjustment matrix and the grayscale-adjustment matrix for the default category.
Public methodSetColorMatrices(ColorMatrix, ColorMatrix, ColorMatrixFlag)
Sets the color-adjustment matrix and the grayscale-adjustment matrix for the default category.
Public methodSetColorMatrices(ColorMatrix, ColorMatrix, ColorMatrixFlag, ColorAdjustType)
Sets the color-adjustment matrix and the grayscale-adjustment matrix for a specified category.
Public methodSetColorMatrix(ColorMatrix)
Sets the color-adjustment matrix for the default category.
Public methodSetColorMatrix(ColorMatrix, ColorMatrixFlag)
Sets the color-adjustment matrix for the default category.
Public methodSetColorMatrix(ColorMatrix, ColorMatrixFlag, ColorAdjustType)
Sets the color-adjustment matrix for a specified category.
Public methodSetGamma(Single)
Sets the gamma value for the default category.
Public methodSetGamma(Single, ColorAdjustType)
Sets the gamma value for a specified category.
Public methodSetNoOp
Turns off color adjustment for the default category.
Public methodSetNoOp(ColorAdjustType)
Turns off color adjustment for a specified category.
Public methodSetOutputChannel(ColorChannelFlag)
Sets the CMYK (cyan-magenta-yellow-black) output channel for the default category.
Public methodSetOutputChannel(ColorChannelFlag, ColorAdjustType)
Sets the CMYK (cyan-magenta-yellow-black) output channel for a specified category.
Public methodSetOutputChannelColorProfile(String)
Sets the output channel color-profile file for the default category.
Public methodSetOutputChannelColorProfile(String, ColorAdjustType)
Sets the output channel color-profile file for a specified category.
Public methodSetRemapTable(ColorMap)
Sets the color-remap table for the default category.
Public methodSetRemapTable(ColorMap, ColorAdjustType)
Sets the color-remap table for a specified category.
Public methodSetThreshold(Single)
Sets the threshold (transparency range) for the default category.
Public methodSetThreshold(Single, ColorAdjustType)
Sets the threshold (transparency range) for a specified category.
Public methodSetWrapMode(WrapMode)
Sets the wrap mode that is used to decide how to tile a texture across a shape, or at shape boundaries. A texture is tiled across a shape to fill it in when the texture is smaller than the shape it is filling.
Public methodSetWrapMode(WrapMode, Color)
Sets the wrap mode and color used to decide how to tile a texture across a shape, or at shape boundaries. A texture is tiled across a shape to fill it in when the texture is smaller than the shape it is filling.
Public methodSetWrapMode(WrapMode, Color, Boolean)
Sets the wrap mode and color used to decide how to tile a texture across a shape, or at shape boundaries. A texture is tiled across a shape to fill it in when the texture is smaller than the shape it is filling.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also