←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 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.