Leadtools.Codecs Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
AlphaChannelLossless Property
See Also 
Leadtools.Codecs Namespace > CodecsJpeg2000SaveOptions Class : AlphaChannelLossless Property



Gets or sets a value indicating whether to save the alpha channel as lossless.

Syntax

Visual Basic (Declaration) 
Public Property AlphaChannelLossless As Boolean
Visual Basic (Usage)Copy Code
Dim instance As CodecsJpeg2000SaveOptions
Dim value As Boolean
 
instance.AlphaChannelLossless = value
 
value = instance.AlphaChannelLossless
C# 
public bool AlphaChannelLossless {get; set;}
C++/CLI 
public:
property bool AlphaChannelLossless {
   bool get();
   void set (bool value);
}

Return Value

true to save the alpha channel as lossless, otherwise; false.

Example

For an example, refer to CodecsJpeg2000Options.

Remarks

The default value is true. The resulting image is 32-bit. The value of this property controls the compression type of alpha channel for J2K/JP2 lossy compression. This option should be used on a 32-bit bitmap otherwise it has no effect.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also