DECOMPRESSDATA - Raster Imaging C API Help

DECOMPRESSDATA

typedef struct _DECOMPRESSDATA 
{ 
   L_UINT uStructSize; 
   L_UCHAR* pBuffer; 
   L_INT nWidth; 
   L_INT nHeight; 
   L_SIZE_T uOffset; 
   L_UINT32 nBufferSize; 
   L_INT nRow; 
   L_INT nCol; 
   L_UINT uFlags; 
   L_INT nReserved1 
} DECOMPRESSDATA, *pDECOMPRESSDATA; 

The DECOMPRESSDATA structure provides decompression to the L_DecompressBuffer function.

Comments

If pBuffer does not point to a full tile or strip, set uFlags to DECOMPRESS_STRIP_START when the tile/strip begins and set it to DECOPMRESS_STRIP_END when the tile/strip ends.

Some functions which take this structure as a parameter require that the structure be initialized prior to the function call. You must set the uStructSize member to the total size, in bytes, of the structure. Use the sizeof() operator to calculate this value. Functions that do not require the structure be initialized will take the total size of the structure, in bytes, as an additional function parameter.

Help Version 20.0.2018.7.30
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help