Encodes the input raw unmanaged memory data using the ABIC encoder.
public Leadtools.RasterNativeBuffer EncodeAbic(
Leadtools.RasterNativeBuffer inputData,
int align,
int width,
int height,
bool biLevel
)
Public Overloads Function EncodeAbic( _
ByVal inputData As Leadtools.RasterNativeBuffer, _
ByVal align As Integer, _
ByVal width As Integer, _
ByVal height As Integer, _
ByVal biLevel As Boolean _
) As Leadtools.RasterNativeBuffer
public RasterNativeBuffer encodeAbic(RasterNativeBuffer inputData, int align, int width, int height, boolean biLevel)
public:
Leadtools.RasterNativeBuffer EncodeAbic(
Leadtools.RasterNativeBuffer inputData,
int align,
int width,
int height,
bool biLevel
)
inputData
A RasterNativeBuffer object which contains the input data.
align
Number of bytes aligned for uncompressed input 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.
A RasterNativeBuffer object that contains the ABIC encoded data.
Call this method to compress the input raw data to 1-bit bi-level or 4-bit grayscale ABIC data.
Use DecodeAbic to decode ABIC data.
The output buffer in the RasterNativeBuffer object returned is allocated automatically by this method. The user is responsible to free this unmanaged memory buffer by calling Marshal.FreeHGlobal as follows:
RasterNativeBuffer buffer = rasterCodecsObject.EncodeAbic(...)// Use buffer Marshal.FreeHGlobal(buffer.Data);
For an example, refer to EncodeAbic.
![]() |
Products |
Support |
Feedback: EncodeAbic(RasterNativeBuffer,Int32,Int32,Int32,Boolean) Method - Leadtools.Codecs |
Introduction |
Help Version 19.0.2017.6.16
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.