Called for each unmanaged memory buffer, strip or tile of decompressed data.
public void Decompress(
object decompressContext,
IBuffer data,
int dataOffset,
int dataLength,
int width,
int height,
int row,
int column,
Leadtools.Codecs.CodecsDecompressDataFlags flags
)
Public Overloads Sub Decompress( _
ByVal decompressContext As Object, _
ByVal data As IBuffer, _
ByVal dataOffset As Integer, _
ByVal dataLength As Integer, _
ByVal width As Integer, _
ByVal height As Integer, _
ByVal row As Integer, _
ByVal column As Integer, _
ByVal flags As Leadtools.Codecs.CodecsDecompressDataFlags _
)
public void Decompress(
object decompressContext,
IBuffer data,
int dataOffset,
int dataLength,
int width,
int height,
int row,
int column,
Leadtools.Codecs.CodecsDecompressDataFlags flags
)
function Leadtools.Codecs.RasterCodecs.Decompress(Object,IBuffer,Int32,Int32,Int32,Int32,Int32,Int32,CodecsDecompressDataFlags)(
decompressContext ,
data ,
dataOffset ,
dataLength ,
width ,
height ,
row ,
column ,
flags
)
public:
void Decompress(
Object^ decompressContext,
IBuffer^ data,
int dataOffset,
int dataLength,
int width,
int height,
int row,
int column,
Leadtools.Codecs.CodecsDecompressDataFlags flags
)
decompressContext
The decompressing context object obtained through StartDecompress.
data
A pointer to an unmanaged memory buffer that contains the raw compressed data.
dataOffset
Offset of the strip referenced by data, This is usually zero.
dataLength
Number of bytes in data.
width
Width of the uncompressed strip or tile, in bytes
height
Height of the uncompressed strip or tile, in bytes. If the image consists of a single compressed strip, as with TWAIN, this is the height of the image.
row
Row offset of the tile or strip.
column
Column offset of the tile or strip.
flags
Flags that indicate which part of a strip or tile is being processed. Possible values are:
Value | Meaning |
---|---|
CodecsDecompressDataFlags.Start | Processing the beginning of a tile or strip |
CodecsDecompressDataFlags.End | Processing the end of a tile or strip |
CodecsDecompressDataFlags.Complete | Process a complete tile or strip. This is the same as CodecsDecompressDataFlags.Start | CodecsDecompressDataFlags.End |
Note that you must call the StartDecompress method before using this method, and you must call the StopDecompress method to end the decompression process.
If data does not point to a full tile or strip, set flags to CodecsDecompressDataFlags.Start when the tile/strip begins and set it to CodecsDecompressDataFlags.End when the tile/strip ends.
Products |
Support |
Feedback: Decompress(Object,IBuffer,Int32,Int32,Int32,Int32,Int32,Int32,CodecsDecompressDataFlags) 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.