Class ImageBrightnessTransform
Brightness ImageTransform class.
Inherited Members
Namespace: DotNetNuke.Services.GeneratedImage.FilterTransform
Assembly: DotNetNuke.dll
Syntax
public class ImageBrightnessTransform : ImageTransform
Constructors
| Improve this Doc View SourceImageBrightnessTransform()
Initializes a new instance of the ImageBrightnessTransform class.
Declaration
public ImageBrightnessTransform()
Properties
| Improve this Doc View SourceBrightness
Gets or sets the brightness value. Defaultvalue is 0. Range is -255 .. 255.
Declaration
public int Brightness { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
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 brightness 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. |