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



Gets a value indicating whether to automatically insert CLEAR codes during LZW compression.

Syntax

Visual Basic (Declaration) 
Public Property NoLzwAutoClear As Boolean
Visual Basic (Usage)Copy Code
Dim instance As CodecsTiffSaveOptions
Dim value As Boolean
 
instance.NoLzwAutoClear = value
 
value = instance.NoLzwAutoClear
C# 
public bool NoLzwAutoClear {get; set;}
C++/CLI 
public:
property bool NoLzwAutoClear {
   bool get();
   void set (    bool value);
}

Property Value

true to disable insert of CLEAR codes; otherwise, false.

Example

For an example, refer to CodecsTiffOptions.

Remarks

This option can be used when saving TIFF LZW files. To save files compatible with some buggy LZW decoders that cannot handle early CLEAR codes. Some IBM decoders are known to have this problem. They will not decode LEAD TIFF LZW files unless this property is set to true.

This property is set to false by default, which allows LEADTOOLS to insert CLEAR LZW codes and reset the LZW compression engine if the compression ratio is not adequate.

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