C
MCU.Config.platformAlphaCompressedLosslessResourcePixelFormat
Defines a default format for lossless compression of transparent image assets.
Description
This property can be used to define a default format for lossless compression of the transparent image assets. It can be set to either "ARGB8888RLE"
or "None"
. The default pixel format is, ARGB8888RLE
.
The resource compiler uses the given format to compile the image assets with lossless compression. The None
value can be used on platforms that does not support lossless compression. In that case, the resources are compressed and the compiler automatically chooses the most appropriate pixel format.
Note: This property must be set in BoardDefaults.qmlprojectconfig
. See the Qt Quick Ultralite Platform Porting Guide for more information.
Usage
MCU.Config { platformAlphaCompressedLosslessResourcePixelFormat: "None" }
Since
This property was introduced in QmlProject API 1.3 .
See also QUL_PLATFORM_DEFAULT_RESOURCE_COMPRESSED_LOSSLESS_PIXEL_FORMAT_ALPHA.
Available under certain Qt licenses.
Find out more.