←Select platform

Compress(IntPtr) Method

Summary

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

Syntax
C#
VB
Objective-C
C++
public void Compress( 
   IntPtr data 
) 
Public Overloads Sub Compress( _ 
   ByVal data As IntPtr _ 
)  
- (BOOL)compress:(unsigned char *)data error:(NSError **)error 
public: 
void Compress(  
   IntPtr data 
)  

Parameters

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

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.

Example

For an example, refer to StartCompress.

Requirements

Target Platforms

Help Version 20.0.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly