VintaSoft Imaging .NET SDK 14.1: Documentation for .NET developer
Vintasoft.Imaging Namespace / PixelManipulator Class / Read1BppRowTo8BppData(Int32,Int32,Byte[],Int32,Byte,Byte) Method
Syntax Requirements SeeAlso
In This Topic
    Read1BppRowTo8BppData(Int32,Int32,Byte[],Int32,Byte,Byte) Method (PixelManipulator)
    In This Topic
    Reads the 1-bpp row to a 8-bpp buffer.
    Syntax
    'Declaration
    
    Public Sub Read1BppRowTo8BppData( _
    ByVal width
    The row width in pixels.
    As System.Int32, _
    ByVal row
    The zero-based row index.
    As System.Int32, _
    ByVal buffer
    The 8-bpp buffer, where data must be placed.
    () As Byte, _
    ByVal bufferIndex
    The zero-based start index in buffer to write.
    As System.Int32, _
    ByVal color0Value
    The 8-bpp value that represents 0 value in 1-bpp data.
    As Byte, _
    ByVal color1Value
    The 8-bpp value that represents 1 value in 1-bpp data.
    As Byte _
    )
    public void Read1BppRowTo8BppData(
    System.Int32 width,
    System.Int32 row,
    byte[] buffer,
    System.Int32 bufferIndex,
    byte color0Value,
    byte color1Value
    )
    public: void Read1BppRowTo8BppData(
    System.Int32 width,
    System.Int32 row,
    byte[]* buffer,
    System.Int32 bufferIndex,
    byte color0Value,
    byte color1Value
    )
    public:
    void Read1BppRowTo8BppData(
    System.Int32 width,
    System.Int32 row,
    array<byte>^ buffer,
    System.Int32 bufferIndex,
    byte color0Value,
    byte color1Value
    )

    Parameters

    width
    The row width in pixels.
    row
    The zero-based row index.
    buffer
    The 8-bpp buffer, where data must be placed.
    bufferIndex
    The zero-based start index in buffer to write.
    color0Value
    The 8-bpp value that represents 0 value in 1-bpp data.
    color1Value
    The 8-bpp value that represents 1 value in 1-bpp data.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also