C
MCU.Config.platformAlphaPixelFormat
The default pixel format for transparent image assets.
Description
This property can be used to choose a default pixel format for the transparent image assets.
Note: This property must be set in BoardDefaults.qmlprojectconfig. See the Qt Quick Ultralite Platform Porting Guide for more information.
Usage
This property is accepted in BoardDefaults.qmlprojectconfig for the target platform. It takes a string, and the default value is "ARGB8888".
The available options are:
"ARGB8888""ARGB4444""Alpha8"
Code example:
MCU.Config {
platformAlphaPixelFormat: "ARGB8888"
}Since
This property was introduced in QmlProject API 1.3 .
See also Qt Quick Ultralite Platform Porting Guide and QUL_PLATFORM_DEFAULT_RESOURCE_PIXEL_FORMAT_ALPHA.
Available under certain Qt licenses.
Find out more.