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.

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

This property is accepted in BoardDefaults.qmlprojectconfig for the target platform. It takes a string, and the default value is "ARGB8888RLE".

The available options are:

  • "ARGB8888RLE"
  • "None"

Code example:

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.