[indiana-discuss] [desktop-discuss] CD Space analysis and recommendations
Dave Miner
Dave.Miner at Sun.COM
Thu Aug 14 07:32:41 PDT 2008
Laszlo (Laca) Peter wrote:
> On Wed, 2008-08-13 at 10:07 -0500, Bob Friesenhahn wrote:
>> It seems that many of the images are in PNG format. Given this, it is
>> worth investigating to see if these PNG files may be optimized for
>> smaller size using 'pngcrush' or a similar tool. I picked a file at
>> random from the themes provided with Solaris 10 and found that
>> 'pngcrush' was able to optimize it to a smaller size, indicating that
>> these images are not yet optimized for size.
>>
>> PNG is a very flexible format offering many ways to store the same
>> image.
>>
>> Wasted space by the filesystem when storing tiny files may hinder
>> 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).
> There's more space to be saved with the larger pixmaps like
> background images (/usr/share/gnome/pixmaps/backgrounds/*)
> 312k (5372 -> 5060)
> and the rest of the theme images (/usr/share/themes/*)
> 32k (3488 -> 3456)
> So that's 1196k saved on SUNWgnome-themes.
>
> Not sure how of this saving is left after the compression
> during the CD image build, though.
>
A reasonable estimate is obtained by just gzip'ing your results and
compare them to the gzip sizes I posted for the packages.
Dave
More information about the indiana-discuss
mailing list