←Select platform

Compress(IBuffer,Int32) Method

Summary

Does buffer-to-buffer JPEG or LEAD CMP compression using an unmanaged memory buffer.

Syntax

C#
VB
WinRT C#
C++
public void Compress(  
   IBuffer data, 
   int dataIndex 
) 
Public Overloads Sub Compress( _ 
   ByVal data As IBuffer, _ 
   ByVal dataIndex As Integer _ 
)  
public void Compress(  
   IBuffer data, 
   int dataIndex 
) 
 function Leadtools.Codecs.RasterCodecs.Compress(IBuffer,Int32)(  
   data , 
   dataIndex  
) 
public: 
void Compress(  
   IBuffer^ data, 
   int dataIndex 
)  

Parameters

data
Pointer to unmanaged memory that holds the data to be compressed.

dataIndex
Index into data where the data starts.

Remarks

You must call StartCompress before using this method, and you must call StopCompress to end the compression process. For a description of how these methods work together, refer to StartCompress.

Requirements

Target Platforms

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

Leadtools.Codecs Assembly