Store image in compressed format.


Without this flag set every image is stored in uncompressed format. When QUL_COMPRESSION is used image is stored with PNG compression and will be decompressed into the cache when needed. This reduces the size of the binary but adds decompression overhead.

This flag implies that QUL_COPY_TO_RAM is "OnDemand". QUL_TEXTURE_CACHE must be set to enable the texture cache.

Note: The LodePNG decompression library is linked into the binary if compression is enabled for any asset.


This property was introduced in Qt Quick Ultralite 1.1.

See also Qt Quick Ultralite image caching, QUL_TEXTURE_CACHE, and Default Resource Properties.

Available under certain Qt licenses.
Find out more.