LEADTOOLS Image File Support (Leadtools.Codecs assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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);
}

Property 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: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also