* Thomas Perl (Mon, 16 May 2011 20:21:28 +0200) > 2011/5/16 Thorsten Kampe <thorsten- [email protected]>: > > I just regenerated ui.py and resource_rc.py and surprisingly > > resource_rc.py generated from pyside-rcc (4.51 Mb) is four(!) times > > as big as the one generated by pyrcc4 (1.18 Mb). > > You could open a bug about this and maybe attach some snippets > comparing what pyside-rcc does different from pyrcc4.
I don't know /what/ pyside-rcc does (internally) compared to pyrcc4, only that its output is different. > I've created a bug report for that and also tried to come up with a > simple patch that already reduces the size for one of my test files > from 5.4 MB to 3.9 MB: http://bugs.pyside.org/show_bug.cgi?id=858 > > Also, did you try playing with the pyside-rcc command line parameters? > I see compression level settings there - maybe this helps? Why should it? The commandline options are the same as for pyrcc4 and I use exactly the same the invocation ("-py3") for pyside-rcc as for pyrcc4. As as a side note, the help says "-compress level - Compress input files by level". So what would that level be? Numeric? From what to what? 1 being the maximum? Or minimum? Or maybe 0? Or 10? Or 100? Thorsten _______________________________________________ PySide mailing list [email protected] http://lists.pyside.org/listinfo/pyside
