Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.17
Compress Method
See Also 
Leadtools.Codecs Namespace > RasterCodecs Class : Compress Method




Does buffer-to-buffer JPEG or LEAD CMP compression.

Overload List

OverloadDescription
Compress(Byte[],Int32) Does buffer-to-buffer JPEG or LEAD CMP compression.  
Compress(IntPtr) Does buffer-to-buffer JPEG or LEAD CMP compression using an unmanaged memory buffer.  

Example

For an example, refer to StartCompress.

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: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also