LEADTOOLS Image File Support (Leadtools.Codecs assembly)

DecompositionLevels Property

Show in webframe







Gets or sets the number of resolution levels in the compressed file.
Syntax
public int DecompositionLevels {get; set;}
'Declaration
 
Public Property DecompositionLevels As Integer
'Usage
 
Dim instance As CodecsJpeg2000SaveOptions
Dim value As Integer
 
instance.DecompositionLevels = value
 
value = instance.DecompositionLevels
public int DecompositionLevels {get; set;}
@property (nonatomic, assign) unsigned int decompositionLevels;
public int getDecompositionLevels()
public void setDecompositionLevels(int value)
            
 
get_DecompositionLevels();
set_DecompositionLevels(value);
Object.defineProperty('DecompositionLevels');
public:
property int DecompositionLevels {
   int get();
   void set (    int value);
}

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

See Also

Reference

CodecsJpeg2000SaveOptions Class
CodecsJpeg2000SaveOptions Members
Programming With JPEG 2000 Features

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.