Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Pyside-rcc command line compression question
abelvedere last edited by
What are the valid compression levels for the -compress flag of pyside-rcc?
I am trying various numbers but it seems to accept anything including negative numbers, and what ever the number seems to make no difference on the size of the output file.
The resources are png images at the moment so i don't expect a big reduction in size, but i would expect some tiny difference between using the -no-compress flag and the -compress 9 flag.
anyone knows if the compress flag is working/active on pyside-rcc comman line?
ubuntu 11.10 64bit
andre.laszlo last edited by
Try the threshold flag. The argument is given as a percentage (0-100).
I dug it up here:
The compression itself is done using the qCompress method of the QByteArray class, which is documented here: