On Thu, 14 Aug 2008, Laszlo (Laca) Peter wrote: >> optimization efforts. > > I've tried this. Built pngcrush (now available in SFE) and > recompressed all pngs with the -brute option. The total > saving for /usr/share/icons was > 852k (49884 -> 49032).
I did the same with the Solaris 10 GNOME bitmaps and only saved something like 200K. Interestingly, 'du -sh .' did not show a decrease in resource consumption if the new file was simply 'mv'ed over the original file name. If the original file was deleted and then the new file renamed, then there was an indicated decrease in space. I could also tar up the files and see an obvious diffence in archive size. Extracting from the tar files produced smaller filesystem level consumption. This testing was on a zfs filesystem. If the icons were kept in a larger achive file and the archive file was "mounted" then there should be much less space consumption in the underlying filesystem. I don't know if OpenSolaris supports such mounting (e.g. mounting a tar/jar file) though. Maybe this will be possible via FUSE. Even Microsoft Windows icon format supports mutiple resolutions in one icon file. This can save quite a lot on filesystem space waste. Bob ====================================== Bob Friesenhahn bfriesen at simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
