A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://doc.qt.io/QtForMCUs-2.8/qtul-qmlproject-imagefilesnode-mcu-resourcecompression.html below:

ImageFiles.MCU.resourceCompression | QmlProject Manual 2.8.2

C ImageFiles.MCU.resourceCompression

Stores image assets in compressed format to enable faster access. This property is set to false by default.

Description

This property can be used to either enable or disable the resource compresion. using true or false. The resource compression is set to false by default.

If the resource compression is enabled, the image assets are stored in compressed format and decompressed into the cache when needed. This reduces the size of the binary but adds decompression overhead. When this flag is true, it implies that ImageFiles.MCU.resourceCachePolicy is set to "OnDemand".

Notes: Usage

This property is accepted in any context where its parent node is accepted. It takes a boolean value, and the default value is false.

Code example:
ImageFiles {
    MCU.resourceCompression: true
}

Note: This property can also be applied to every image resource in the QmlProject file if defined in MCU.Config as follows:

MCU.Config {
    resourceCompression: true
}
Since

This property was introduced in QmlProject API 1.3 .

See also Qt Quick Ultralite image caching, ImageFiles.MCU.resourceCachePolicy, MCU.Config.maxResourceCacheSize, and QUL_RESOURCE_COMPRESSION.

QmlProject Manual

Available under certain Qt licenses.
Find out more.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4