[Scummvm-devel] New website
Max Horn
max at quendi.de
Wed Nov 16 08:05:02 CET 2005
Am 16.11.2005 um 14:14 schrieb <Torbjorn.E.Andersson at personec.com>
<Torbjorn.E.Andersson at personec.com>:
> Eugene Sandulenko [sev at scummvm.org] wrote:
>
>> All .pngs on the site, screenshots included were optipng'ed and
>> advpng'ed after that which gives best results. So no size gain with
>> current data could be possible.
>
> Perhaps not with the current data, but I was talking about the
> indexed PNGs I made with The Gimp to compare the size/appearence.
I used ImageMagick to do the conversion:
convert a.png -type Palette a2.png
and then again advpng to further reduce them. The result for the
biggest non-palette PNGs was this:
-rw-r--r-- 1 maxhorn maxhorn 9760 Nov 16 16:55 content-bg.png
-rw-r--r-- 1 maxhorn maxhorn 27248 Nov 16 16:55 heroes0.png
-rw-r--r-- 1 maxhorn maxhorn 21382 Nov 16 16:55 heroes1.png
-rw-r--r-- 1 maxhorn maxhorn 22857 Nov 16 16:55 heroes2.png
-rw-r--r-- 1 maxhorn maxhorn 24998 Nov 16 16:55 heroes3.png
-rw-r--r-- 1 maxhorn maxhorn 27800 Nov 16 16:55 heroes4.png
-rw-r--r-- 1 maxhorn maxhorn 18766 Nov 16 16:55 scummvm_logo.png
That's between 33% and 50% of the original file size. However, in the
case of scummvm_logo.png there is a very noticable quality loss.
OTOH, for the heroes?.png files, the new files seem to be very very
close to the original ones, so I feel we could safely replace those,
saving 30-40kb for each full page reload (which is already quite a
lot, isn't it? :-).
BTW something completely different: I just noticed that the
"Documentation" and "Misc. Menu" side bars have the same background
pic (from BASS). I wonder if Draven could make us a new (fourth)
background to use for "Misc." ? Of course this is an extremly minor
detail :-)
Cheers,
Max
More information about the Scummvm-devel
mailing list