Search Results for

    Show / Hide Table of Contents

    Class PixColormap

    Inheritance
    System.Object
    PixColormap
    Implements
    System.IDisposable
    Namespace: DynamicTesseract
    Assembly: IronOcr.dll
    Syntax
    public sealed class PixColormap : Object, IDisposable

    Properties

    Count

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    System.Int32

    Depth

    Declaration
    public int Depth { get; }
    Property Value
    Type Description
    System.Int32

    FreeCount

    Declaration
    public int FreeCount { get; }
    Property Value
    Type Description
    System.Int32

    Item[Int32]

    Declaration
    public PixColor this[int index] { get; set; }
    Parameters
    Type Name Description
    System.Int32 index
    Property Value
    Type Description
    PixColor

    Methods

    AddBlackOrWhite(Int32, out Int32)

    Declaration
    public bool AddBlackOrWhite(int color, out int index)
    Parameters
    Type Name Description
    System.Int32 color
    System.Int32 index
    Returns
    Type Description
    System.Boolean

    AddColor(PixColor)

    Declaration
    public bool AddColor(PixColor color)
    Parameters
    Type Name Description
    PixColor color
    Returns
    Type Description
    System.Boolean

    AddNearestColor(PixColor, out Int32)

    Declaration
    public bool AddNearestColor(PixColor color, out int index)
    Parameters
    Type Name Description
    PixColor color
    System.Int32 index
    Returns
    Type Description
    System.Boolean

    AddNewColor(PixColor, out Int32)

    Declaration
    public bool AddNewColor(PixColor color, out int index)
    Parameters
    Type Name Description
    PixColor color
    System.Int32 index
    Returns
    Type Description
    System.Boolean

    Clear()

    Declaration
    public void Clear()

    Create(Int32)

    Declaration
    public static PixColormap Create(int depth)
    Parameters
    Type Name Description
    System.Int32 depth
    Returns
    Type Description
    PixColormap

    CreateLinear(Int32, Boolean, Boolean)

    Declaration
    public static PixColormap CreateLinear(int depth, bool firstIsBlack, bool lastIsWhite)
    Parameters
    Type Name Description
    System.Int32 depth
    System.Boolean firstIsBlack
    System.Boolean lastIsWhite
    Returns
    Type Description
    PixColormap

    CreateLinear(Int32, Int32)

    Declaration
    public static PixColormap CreateLinear(int depth, int levels)
    Parameters
    Type Name Description
    System.Int32 depth
    System.Int32 levels
    Returns
    Type Description
    PixColormap

    Dispose()

    Declaration
    public void Dispose()

    IsUsableColor(PixColor)

    Declaration
    public bool IsUsableColor(PixColor color)
    Parameters
    Type Name Description
    PixColor color
    Returns
    Type Description
    System.Boolean

    SetBlackOrWhite(Boolean, Boolean)

    Declaration
    public bool SetBlackOrWhite(bool setBlack, bool setWhite)
    Parameters
    Type Name Description
    System.Boolean setBlack
    System.Boolean setWhite
    Returns
    Type Description
    System.Boolean

    Implements

    System.IDisposable
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget
    Want to deploy IronOCR 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 IronOCR free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.