 |
BitmapLoadOptions Class |
Inheritance Hierarchy Namespace: Ab4d.SharpEngine.CommonAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntaxpublic class BitmapLoadOptions
The BitmapLoadOptions type exposes the following members.
Constructors
Fields| | Name | Description |
|---|
 | ConvertToSupportedFormat |
When true (the default), the loaded images are converted into a format that is supported by the engine
(i.e., 32 bit BGRA or RGBA format).
When false, the loader attempts to preserve the format of the bitmap (for example, 8 bit for grayscale);
note that this is not guaranteed, and that loader may still convert the image to BGRA format. Also note that
the image in the original format may not be correctly displayed by the engine.
|
 | PremultiplyAlpha |
When true (the default), the R, G, and B channel data is pre-multiplied with alpha values (either at the loader
level, or in postprocessing). When false, the image data is returned as-is.
|
Top
See Also