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
    IronOCR_for_dotnet_log2o
    Blue key in circleGet started for FREE
    No credit card required
    Test in a live environment

    Test in production without watermarks.
    Works wherever you need it to.

    Fully-functional product

    Get 30 days of fully functional product.
    Have it up and running in minutes.

    24/5 technical support

    Full access to our support engineering team during your product trial

    Grey key in circleGet started for FREE
    The trial form was submitted successfully.
    Calendar in circleBook Free Live Demo
    No contact, no card details, no commitments Book a 30-minute, personal demo.
    Here's what to expect:

    A live demo of our product and its key features

    Get project specific feature recommendations

    All your questions are answered to make sure you have all the information you need. (No commitment whatsoever.)

    Grey key in circleBook Free Live Demo
    Your booking has been completed Check your e-mail for confirmation
    Support Team Member 6 related to The C# PDF Library Support Team Member 14 related to The C# PDF Library Support Team Member 4 related to The C# PDF Library Support Team Member 2 related to The C# PDF Library
    Online 24/5
    Need help? Our sales team would be glad to help you.
    Try the Enterprise Trial
    ironpdf_for_dotnet_log2o
    Key in blue circle
    Get your free 30-day Trial Key instantly.
    bullet_checkedNo credit card or account creation required
    Key in blue circle
    Get your free 30-day Trial Key instantly.
    Blue key in circleNo credit card or account creation required
    Green Check in orange circle
    The trial form was submitted successfully.
    badge_greencheck_in_yellowcircle
    Thank you for starting a trial

    Please check your email for the trial license key.

    If you don’t receive an email, please start a live chat or email support@ironsoftware.com

    Install with NuGet
    View Licensing
    • Logo Aetna
    • Logo NASA
    • Logo GE
    • Logo Porsche
    • Logo USDA
    • Logo Qatar
    Join Millions of Engineers who’ve tried IronOCR