C
MCU.Config.platformOpaqueCompressedLosslessResourcePixelFormat
Defines a default pixel format for lossless compression of opaque image assets.
Description
This property can be used to define a default pixel format for lossless compression of opaque image assets. The "None"
value can be used on platforms that does not support lossless compression. In that case, the resource are not compressed and the resource compiler automatically chooses an appropriate pixel format.
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 "RGB888RLE"
.
The available options are:
"XRGB8888RLE"
"RGB888RLE"
"None"
Code example:
MCU.Config { platformOpaqueCompressedLosslessResourcePixelFormat: "XRGB8888RLE" }
Since
This property was introduced in QmlProject API 1.3 .
See also QUL_PLATFORM_DEFAULT_RESOURCE_COMPRESSED_LOSSLESS_PIXEL_FORMAT_OPAQUE.
Available under certain Qt licenses.
Find out more.