Enables or disables automatic handling of premultiplied alpha channel values when using Silverlight WriteableBitmap.
public bool PremultiplyAlpha {get; set;}
Public Property PremultiplyAlpha As Boolean
public bool PremultiplyAlpha {get; set;}
@property (nonatomic, assign) BOOL premultiplyAlpha
public boolean getPremultiplyAlpha()
public void setPremultiplyAlpha(boolean value)
get_PremultiplyAlpha();
set_PremultiplyAlpha(value);
Object.defineProperty('PremultiplyAlpha');
true to allow LEADTOOLS to automatically handle premultiplied alpha channel values; false, otherwise.
This property only applies to 32-bit images. This property only has an effect when using WriteableBitmap for memory storage of the image data.
When this property is set to True, LEADTOOLS will automatically do the required conversions to store premultipled alpha values into the WriteableBitmap. If you are dealing with 32-bit images that do not have meaningful alpha channel values, you should simply set this property to false.
Setting this property to True will slow down image processing functions. You should only use this if you know your images have meaningful alpha channel values.
RasterMemoryFlags.WriteableBitmap
RasterImageConverter.ConvertToSource
ConvertToSourceOptions.AutoDetectAlpha
ConvertFromSourceOptions.AutoDetectAlpha
Products |
Support |
Feedback: PremultiplyAlpha Property - Leadtools |
Introduction |
Help Version 19.0.2017.6.19
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.