[Interest] Very large QRC file

Konstantin Tokarev annulen at yandex.ru
Wed Mar 23 17:58:57 CET 2016



23.03.2016, 19:11, "André Somers" <andre at familiesomers.nl>:
> Op 23/03/2016 om 17:04 schreef Konstantin Tokarev:
>>  23.03.2016, 19:03, "Sean Harmer" <sean.harmer at kdab.com>:
>>>  On Wednesday 23 March 2016 16:57:04 Jason H wrote:
>>>  Notice the -no-compress option too this can save runtime CPu costs
>>>  involved with decompressing the data especially for already
>>>  compressed formats such as most video codecs.
>>  I haven't noticed any difference when using this option with png assets, resulting files were byte-identical
>
> That's because qrc is clever enough to not even try compressing pngs. It
> doesn't know about all possible file types though.

No. It just checks if each file compresses well[1], otherwise file is stored
without compression.

[1] See -threshold argument of rcc.
By default it is 70 which means that reduction must be >= 70 %

-- 
Regards,
Konstantin



More information about the Interest mailing list