←Select platform

DecompositionLevels Property

Summary

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

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public int DecompositionLevels { get; set; } 
Public Property DecompositionLevels As Integer 
public int DecompositionLevels {get; set;} 
@property (nonatomic, assign) NSUInteger decompositionLevels 
public int getDecompositionLevels() 
public void setDecompositionLevels(int value) 
             
 <br/>get_DecompositionLevels();<br/>set_DecompositionLevels(value);<br/>Object.defineProperty('DecompositionLevels');  
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly