LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
StopCompress Method
See Also 
Leadtools.Codecs Namespace > RasterCodecs Class : StopCompress Method



Cleans up all data variables and buffers allocated by the JPEG or LEAD CMP compression engine.

Syntax

Visual Basic (Declaration) 
Public Sub StopCompress() 
Visual Basic (Usage)Copy Code
Dim instance As RasterCodecs
 
instance.StopCompress()
C# 
public void StopCompress()
C++/CLI 
public:
void StopCompress(); 

Example

Remarks

Calling this method will reset all internal variables to their default settings. Call this method after the compression of the entire image using Compress(Byte[],Int32). For a detailed description of when to use this method, refer to StartCompress(Int32,Int32,Int32,RasterByteOrder,RasterViewPerspective,Int32,Byte[],Int32,Int32,CodecsCompression,CodecsCompressDataCallback).

Requirements

Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also