Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.17
DecodeAbic(RasterNativeBuffer,Int32,Int32,Int32,Boolean) Method
See Also 
Leadtools.Codecs Namespace > RasterCodecs Class > DecodeAbic Method : DecodeAbic(RasterNativeBuffer,Int32,Int32,Int32,Boolean) Method




inputData
A RasterNativeBuffer object which contains the input data.
align
Number of bytes to align the uncompressed output data.
width
Image width, in pixels.
height
Image height, in pixels.
biLevel
true to indicate bi-level encoding, false to indicate 4-bit grayscale encoding.
Decodes the input ABIC unmanaged memory data using the ABIC decoder and returns raw uncompressed data.

Syntax

Visual Basic (Declaration) 
Overloads Public Function DecodeAbic( _
   ByVal inputData As RasterNativeBuffer, _
   ByVal align As Integer, _
   ByVal width As Integer, _
   ByVal height As Integer, _
   ByVal biLevel As Boolean _
) As RasterNativeBuffer
Visual Basic (Usage)Copy Code
Dim instance As RasterCodecs
Dim inputData As RasterNativeBuffer
Dim align As Integer
Dim width As Integer
Dim height As Integer
Dim biLevel As Boolean
Dim value As RasterNativeBuffer
 
value = instance.DecodeAbic(inputData, align, width, height, biLevel)
C# 
public RasterNativeBuffer DecodeAbic( 
   RasterNativeBuffer inputData,
   int align,
   int width,
   int height,
   bool biLevel
)
Managed Extensions for C++ 
public: RasterNativeBuffer DecodeAbic( 
   RasterNativeBuffer inputData,
   int align,
   int width,
   int height,
   bool biLevel
) 
C++/CLI 
public:
RasterNativeBuffer DecodeAbic( 
   RasterNativeBuffer inputData,
   int align,
   int width,
   int height,
   bool biLevel
) 

Parameters

inputData
A RasterNativeBuffer object which contains the input data.
align
Number of bytes to align the uncompressed output data.
width
Image width, in pixels.
height
Image height, in pixels.
biLevel
true to indicate bi-level encoding, false to indicate 4-bit grayscale encoding.

Return Value

A RasterNativeBuffer object that contains the raw uncompressed data.

Example

For an example, refer to EncodeAbic.

Remarks

Call this method to decompress the input 1-bit bi-level or 4-bit grayscale ABIC data.

Use EncodeAbic to encode ABIC data.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also