Member attributes: ColorPremulipliedAlpha
This attribute controls the color conversion of bitmap resources when generating code for a particular profile member.
Syntax
true
false
Discussion
The attribute ColorPremultipliedAlpha determines whether the target system calculates with color channels premultiplied with their corresponding alpha values or not. The setting affects directly the format of how bitmap resources are converted and stored in the generated code. However, it has an effect only when the related attribute ModeOfBitmapResources is configured with the value DirectAccess. Otherwise the setting of ColorPremultipliedAlpha is ignored.
The attribute can assume the value true or false. In the case the color channels are premultiplied, the attribute should be set true. With straight channels, the attribute should be false.
Modify the attribute
To inspect or modify the value of a ColorPremultipliedAlpha attribute, select first the affected profile member. Thereupon, the attribute is listed in the middle area of Inspector. Please note the available assistant you can activate by clicking on the button right to the attribute:
Please note, the attribute can be hidden if the Platform Package selected in the particular profile member doesn't support the direct-access mode for generated bitmap data (see ModeOfBitmapResources) or the layout of how pixel data are stored in the target device is fixed and can't be configured.