Search Results for

    Show / Hide Table of Contents

    Class ContrastFilter

    A filter for adjust image Contrast.

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

    Constructors

    ContrastFilter()

    Initializes a new instance of the ContrastFilter class.

    Declaration
    public ContrastFilter()

    ContrastFilter(Single)

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

    Declaration
    public ContrastFilter(float Amount)
    Parameters
    Type Name Description
    System.Single Amount

    The proportion of the conversion. Must be greater than or equal to 0. Default = 1.

    A value of 0 will create an image that is completely gray. A value of 1 leaves the input unchanged.

    Properties

    Amount

    The proportion of the conversion. Must be greater than or equal to 0. Default = 1.

    A value of 0 will create an image that is completely gray. A value of 1 leaves the input unchanged.

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

    Implements

    IImageFilter
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Free 30-Day Trial Key
    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.