Search Results for

    Show / Hide Table of Contents

    Class BrightnessFilter

    A filter to adjust image brightness.

    Inheritance
    System.Object
    BrightnessFilter
    Implements
    IImageFilter
    Namespace: IronBarCode
    Assembly: IronBarCode.dll
    Syntax
    public class BrightnessFilter : Object, IImageFilter

    Constructors

    BrightnessFilter()

    Initializes a new instance of the BrightnessFilter class.

    Declaration
    public BrightnessFilter()

    BrightnessFilter(Single)

    Initializes a new instance of the BrightnessFilter class with the specified amount.

    Declaration
    public BrightnessFilter(float amount)
    Parameters
    Type Name Description
    System.Single amount

    The proportion of the conversion. Value must be between [-1, 1].

    Positive values increase brightness, negative values decrease brightness. A value of 0 leaves the image unchanged.

    Properties

    Amount

    The proportion of the conversion. Value must be between [-1, 1]. Default = 0.

    Positive values increase brightness, negative values decrease brightness. A value of 0 leaves the image unchanged.

    Declaration
    public float Amount { get; set; }
    Property Value
    Type Description
    System.Single

    Implements

    IImageFilter
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget
    Want to deploy IronBarcode to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronBarcode free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.