←Select platform

DecompositionLevels Property

Summary

Gets or sets the number of resolution levels in the compressed file.

Syntax
C#
VB
Objective-C
C++
Java
public int DecompositionLevels { get; set; } 
Public Property DecompositionLevels As Integer 
@property (nonatomic, assign) NSUInteger decompositionLevels 
public int getDecompositionLevels() 
public void setDecompositionLevels(int value) 
public: 
property int DecompositionLevels { 
   int get(); 
   void set (    int ); 
} 

Property Value

The number of resolution levels in the compressed file.

Remarks

The maximum number of levels depends on the size of the image. Passing values that are too large will cause the save operation to fail. Each resolution level is one-half the size of the previous resolution, in both dimensions (width and height), starting with the full image resolution. The resolutions are not stored independently, and do not have a major impact on the compression results. The default value is 5, which produces the best compression ratios in most cases.

Example

For an example, refer to CodecsJpeg2000Options.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly