Search Results for

    Show / Hide Table of Contents

    Class BitmapHelper

    Inheritance
    System.Object
    BitmapHelper
    Namespace: DynamicTesseract
    Assembly: IronOcr.dll
    Syntax
    public static class BitmapHelper : Object

    Methods

    ConvertArgb1555ToRGBA(UInt32)

    Declaration
    public static uint ConvertArgb1555ToRGBA(uint val)
    Parameters
    Type Name Description
    System.UInt32 val
    Returns
    Type Description
    System.UInt32

    ConvertRgb555ToRGBA(UInt32)

    Declaration
    public static uint ConvertRgb555ToRGBA(uint val)
    Parameters
    Type Name Description
    System.UInt32 val
    Returns
    Type Description
    System.UInt32

    ConvertRgb565ToRGBA(UInt32)

    Declaration
    public static uint ConvertRgb565ToRGBA(uint val)
    Parameters
    Type Name Description
    System.UInt32 val
    Returns
    Type Description
    System.UInt32

    EncodeAsRGBA(Byte, Byte, Byte, Byte)

    Declaration
    public static uint EncodeAsRGBA(byte red, byte green, byte blue, byte alpha)
    Parameters
    Type Name Description
    System.Byte red
    System.Byte green
    System.Byte blue
    System.Byte alpha
    Returns
    Type Description
    System.UInt32

    GetBPP(AnyBitmap)

    Declaration
    public static int GetBPP(AnyBitmap bitmap)
    Parameters
    Type Name Description
    IronSoftware.Drawing.AnyBitmap bitmap
    Returns
    Type Description
    System.Int32

    GetDataBit(Byte*, Int32)

    Declaration
    public static byte GetDataBit(byte *data, int index)
    Parameters
    Type Name Description
    System.Byte* data
    System.Int32 index
    Returns
    Type Description
    System.Byte

    GetDataByte(Byte*, Int32)

    Declaration
    public static byte GetDataByte(byte *data, int index)
    Parameters
    Type Name Description
    System.Byte* data
    System.Int32 index
    Returns
    Type Description
    System.Byte

    GetDataQBit(Byte*, Int32)

    Declaration
    public static byte GetDataQBit(byte *data, int index)
    Parameters
    Type Name Description
    System.Byte* data
    System.Int32 index
    Returns
    Type Description
    System.Byte

    GetDataUInt16(UInt16*, Int32)

    Declaration
    public static ushort GetDataUInt16(ushort *data, int index)
    Parameters
    Type Name Description
    System.UInt16* data
    System.Int32 index
    Returns
    Type Description
    System.UInt16

    GetDataUInt32(UInt32*, Int32)

    Declaration
    public static uint GetDataUInt32(uint *data, int index)
    Parameters
    Type Name Description
    System.UInt32* data
    System.Int32 index
    Returns
    Type Description
    System.UInt32

    SetDataBit(Byte*, Int32, Byte)

    Declaration
    public static void SetDataBit(byte *data, int index, byte value)
    Parameters
    Type Name Description
    System.Byte* data
    System.Int32 index
    System.Byte value

    SetDataByte(Byte*, Int32, Byte)

    Declaration
    public static void SetDataByte(byte *data, int index, byte value)
    Parameters
    Type Name Description
    System.Byte* data
    System.Int32 index
    System.Byte value

    SetDataQBit(Byte*, Int32, Byte)

    Declaration
    public static void SetDataQBit(byte *data, int index, byte value)
    Parameters
    Type Name Description
    System.Byte* data
    System.Int32 index
    System.Byte value

    SetDataUInt16(UInt16*, Int32, UInt16)

    Declaration
    public static void SetDataUInt16(ushort *data, int index, ushort value)
    Parameters
    Type Name Description
    System.UInt16* data
    System.Int32 index
    System.UInt16 value

    SetDataUInt32(UInt32*, Int32, UInt32)

    Declaration
    public static void SetDataUInt32(uint *data, int index, uint value)
    Parameters
    Type Name Description
    System.UInt32* data
    System.Int32 index
    System.UInt32 value
    ☀
    ☾
    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.