←Select platform

AlphaChannelActiveBits Property

Summary

Gets or sets a value indicating the active bits for the alpha channel.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
public int AlphaChannelActiveBits { get; set; } 
Public Property AlphaChannelActiveBits As Integer 
public int AlphaChannelActiveBits {get; set;} 
@property (nonatomic, assign) NSUInteger alphaChannelActiveBits 
public int getAlphaChannelActiveBits() 
public void setAlphaChannelActiveBits(int value) 
             
 <br/>get_AlphaChannelActiveBits();<br/>set_AlphaChannelActiveBits(value);<br/>Object.defineProperty('AlphaChannelActiveBits');  
public: 
property int AlphaChannelActiveBits { 
   int get(); 
   void set (    int ); 
} 

Property Value

The active bits for the alpha channel. Possible values are 1 and 8. If the value is 1 it means the 256 levels of the 8-bit alpha channels will be transformed into two levels of value 255 or 0, using simple threshold. The threshold value is 127, so all values gt; 127 will be set to 255 and all values lt;= 127 will be set to 0. If the value is 8, all 256 levels of the 8-bit alpha channels will be compressed. This is the default value. This option should be used on a 32-bit bitmap: otherwise, it has no effect.

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