[Interest] lupdate -compress makes files BIGGER?

Tony Rietwyk tony at rightsoft.com.au
Thu Jul 21 03:40:18 CEST 2016


Hi Jason, 

If your files are already compressed - eg, jpeg images, then trying to
compress them again can result in being slightly larger, due to extra
prefixes, etc.  In your files, it seems to be about 550 bytes, which does
seem a bit large. 

Regards, 

Tony



> -----Original Message-----
> From: Interest [mailto:interest-bounces+tony=rightsoft.com.au at qt-
> project.org] On Behalf Of Jason H
> Sent: Thursday, 21 July 2016 5:10 AM
> To: interestqt-project.org
> Subject: [Interest] lupdate -compress makes files BIGGER?
> 
> $ lupdate -compress app.pro
> $ ls -l -S *.qm
> -rw-r--r--  1 jhihn  staff  11570 Jul 20 15:02 app_mr.qm
> -rw-r--r--  1 jhihn  staff  11102 Jul 20 15:02 app_es.qm
> -rw-r--r--  1 jhihn  staff  10975 Jul 20 15:02 app_tl.qm
> -rw-r--r--  1 jhihn  staff  10556 Jul 20 15:02 app_ta.qm
> -rw-r--r--  1 jhihn  staff  10528 Jul 20 15:02 app_en.qm
> -rw-r--r--  1 jhihn  staff  10313 Jul 20 15:02 app_ar.qm
> -rw-r--r--  1 jhihn  staff  10164 Jul 20 15:02 app_te.qm
> -rw-r--r--  1 jhihn  staff  10018 Jul 20 15:02 app_km.qm
> -rw-r--r--  1 jhihn  staff   9824 Jul 20 15:02 app_kn.qm
> -rw-r--r--  1 jhihn  staff   9691 Jul 20 15:02 app_vi.qm
> -rw-r--r--  1 jhihn  staff   9406 Jul 20 15:02 app_hi.qm
> -rw-r--r--  1 jhihn  staff   7335 Jul 20 15:02 app_zh.qm
> 
> $ lupdate app.pro
> $ ls -l -S *.qm
> -rw-r--r--  1 jhihn  staff  11017 Jul 20 15:08 app_mr.qm
> -rw-r--r--  1 jhihn  staff  10613 Jul 20 15:08 app_es.qm
> -rw-r--r--  1 jhihn  staff  10486 Jul 20 15:08 app_tl.qm
> -rw-r--r--  1 jhihn  staff  10091 Jul 20 15:08 app_ta.qm
> -rw-r--r--  1 jhihn  staff  10039 Jul 20 15:08 app_en.qm
> -rw-r--r--  1 jhihn  staff   9848 Jul 20 15:08 app_ar.qm
> -rw-r--r--  1 jhihn  staff   9699 Jul 20 15:08 app_te.qm
> -rw-r--r--  1 jhihn  staff   9553 Jul 20 15:08 app_km.qm
> -rw-r--r--  1 jhihn  staff   9359 Jul 20 15:08 app_kn.qm
> -rw-r--r--  1 jhihn  staff   9202 Jul 20 15:08 app_vi.qm
> -rw-r--r--  1 jhihn  staff   8941 Jul 20 15:08 app_hi.qm
> -rw-r--r--  1 jhihn  staff   6846 Jul 20 15:08 app_zh.qm
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest




More information about the Interest mailing list