Class ImageContrastTransform
Constrast ImageTransform class.
Inherited Members
Namespace: DotNetNuke.Services.GeneratedImage.FilterTransform
Assembly: DotNetNuke.dll
Syntax
public class ImageContrastTransform : ImageTransform
Constructors
| Improve this Doc View SourceImageContrastTransform()
Initializes a new instance of the ImageContrastTransform class.
Declaration
public ImageContrastTransform()
Properties
| Improve this Doc View SourceContrast
Gets or sets the contrast value. Defaultvalue is 0. Range is -100 .. 100.
Declaration
public double Contrast { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
UniqueString
Gets provides an Unique String for this class.
Declaration
public override string UniqueString { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
Methods
| Improve this Doc View SourceProcessImage(Image)
Processes an input image applying a contrast image transformation.
Declaration
public override Image ProcessImage(Image image)
Parameters
Type | Name | Description |
---|---|---|
Image | image | Input image. |
Returns
Type | Description |
---|---|
Image | Image result after image transformation. |