←Select platform

NoLzwAutoClear Property

Summary
Gets a value indicating whether to automatically insert CLEAR codes during LZW compression.
Syntax
C#
VB
Objective-C
C++
Java
public bool NoLzwAutoClear { get; set; } 
Public Property NoLzwAutoClear As Boolean 
@property (nonatomic, assign) BOOL noLzwAutoClear 
public boolean getNoLzwAutoClear() 
public void setNoLzwAutoClear(boolean value) 
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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.