←Select platform

NoLzwAutoClear Property

Summary

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

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public bool NoLzwAutoClear { get; set; } 
Public Property NoLzwAutoClear As Boolean 
public bool NoLzwAutoClear {get; set;} 
@property (nonatomic, assign) BOOL noLzwAutoClear 
public boolean getNoLzwAutoClear() 
public void setNoLzwAutoClear(boolean value) 
             
 <br/>get_NoLzwAutoClear();<br/>set_NoLzwAutoClear(value);<br/>Object.defineProperty('NoLzwAutoClear');  
public: 
property bool NoLzwAutoClear { 
   bool get(); 
   void set (    bool ); 
} 

Property Value

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

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.

Example

For an example, refer to CodecsTiffOptions.

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