←Select platform

NoLzwAutoClear Property

Summary

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

Syntax

C#
VB
Java
Objective-C
C++
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 20.0.2018.6.21
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly