LEADTOOLS Image File Support (Leadtools.Codecs assembly)
LEAD Technologies, Inc

DecompositionLevels Property






Gets or sets the number of resolution levels in the compressed file. .NET support WinRT support Silverlight support
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;}
 get_DecompositionLevels();
set_DecompositionLevels(value);
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CodecsJpeg2000SaveOptions Class
CodecsJpeg2000SaveOptions Members
Programming With JPEG 2000 Features

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.