• Share
    • Twitter
    • LinkedIn
    • Facebook
    • Email
  • Feedback
  • Improve this Doc

Class ImageBrightnessTransform

Brightness ImageTransform class.

Inheritance
System.Object
ImageTransform
ImageBrightnessTransform
Inherited Members
ImageTransform.InterpolationMode
ImageTransform.SmoothingMode
ImageTransform.PixelOffsetMode
ImageTransform.CompositingQuality
ImageTransform.CopyImage(Stream)
Namespace: DotNetNuke.Services.GeneratedImage.FilterTransform
Assembly: DotNetNuke.dll
Syntax
public class ImageBrightnessTransform : ImageTransform

Constructors

| Improve this Doc View Source

ImageBrightnessTransform()

Initializes a new instance of the ImageBrightnessTransform class.

Declaration
public ImageBrightnessTransform()

Properties

| Improve this Doc View Source

Brightness

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
| Improve this Doc View Source

UniqueString

Gets provides an Unique String for this class.

Declaration
public override string UniqueString { get; }
Property Value
Type Description
System.String
Overrides
ImageTransform.UniqueString

Methods

| Improve this Doc View Source

ProcessImage(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.

Overrides
ImageTransform.ProcessImage(Image)

Extension Methods

JsonExtensionsWeb.ToJson(Object)
  • View Source
Back to top by the community, for the community... #DNNCMS