Indicates whether to initialize the alpha channel when loading images as 32 or 64-bit.
public bool InitAlpha { get; set; }
Public Property InitAlpha As Boolean
@property (nonatomic, assign) BOOL initAlpha
public boolean getInitAlpha()
public void setInitAlpha(boolean value)
true to set the alpha channel to ones (0xFF for 8-bit and OxFFFF for 16-bit), false to set the alpha channel to zeros.
The default value for this property is true.
When loading 32-bit or 64-bit images that are known to have valid alpha channel information, you should set this property to false if you wish to retain the alpha channel in the loaded image.
The following formats will ignore this option, and will always retain alpha channel information during load:
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document