[Kde-games-devel] svgz in git

Wolfgang Rohdewald wolfgang at rohdewald.de
Wed Aug 15 10:01:30 UTC 2012


Am Dienstag, 14. August 2012, 20:41:53 schrieb Wolfgang Rohdewald:
> > See kde-ruleset/bin/recompress-svgz-and-png.sh. It does all the magic
> > for you. In a few cases it resulted in noticeable space savings.
> 
> I will implement that for the conversion.

Yesterday I made a mistake - the repo sizes were too big. 
The conversion logs were included. Now the biggest ones are:

135M    palapeli
112M    libkdegames
45M     kpat
31M     kbreakout
29M     ktuberling


I tried palapeli with recompress-svgz-and-png.sh, no noticeable
difference.

libkdegames: Both, svgz uncompression and png optimization
make the size _grow_: png by 8M, svgz by 21M.

du -h -s *
112M    libkdegames.org
120M    pngonly
133M    svgzonly

All are treated with gc --aggressive.

Cloning those gives me the same values. So no backup files which
falsify the result, I guess.

game over for me - maybe you want to try this on a different game,
or maybe I made a mistake and you get different results. I can
understand svgz - could be big files with few changes, but png is
surprising to me. The conversion log DID contain lots of pngs 
with shrinking factors up to 40% (but then most of them are rather
small).

if the results are correct (IMHO they are), git is definitively better
with compressing than expected.

-- 
Wolfgang


More information about the kde-games-devel mailing list