Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2002:
[Freeciv-Dev] Re: [FreeCiv-Cvs] jdorje: Replace XPM files in misc/ and t
Home

[Freeciv-Dev] Re: [FreeCiv-Cvs] jdorje: Replace XPM files in misc/ and t

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [FreeCiv-Cvs] jdorje: Replace XPM files in misc/ and trident/ with...
From: Vasco Alexandre Da Silva Costa <vasc@xxxxxxxxxxxxxx>
Date: Wed, 6 Nov 2002 21:57:19 +0000 (WET)

On Wed, 6 Nov 2002, Jason Dorje Short wrote:

> freeciv@xxxxxxxxxxxxxxxxxxx wrote:
> > This is an automated notification of a change to freeciv cvs,
> > on Wed Nov  6 12:22:16 PST 2002 = Wed Nov  6 20:22:16 2002 (GMT)
> > by Jason Dorje Short <jdorje@xxxxxxxxxxxxxxxxxxxxx>
> >
> > ---- Files affected:
> >
> > freeciv/data/misc chiefs.png intro.png radar.png shields.png small.png 
> > space.png treaty.png Makefile.am chiefs.xpm intro.xpm radar.xpm shields.xpm 
> > small.xpm space.xpm treaty.xpm
> > freeciv/data/trident cities.png explosions.png flags.png roads.png 
> > tiles.png units.png Makefile.am cities.xpm explosions.xpm flags.xpm 
> > roads.xpm tiles.xpm units.xpm
> >
> > ---- Log message:
> >       Tag: HEAD
> >
> > Replace XPM files in misc/ and trident/ with PNG files.
>
> So, we have a first installment of PNG working.
>
> First off, note XAW still won't work with PNG.  If you're using the CVS
> XAW client then either don't grab these latest changes, back up your XPM
> files in ~/.freeciv, or grab xpm.tgz from the incoming directory [1] and
> untar it into ~/.freeciv.
>
> These changes should work with gui-gtk and gui-gtk-2.0.  As always,
> report any problems.
>
> We still need to convert the isotrident files to PNGs.  Since these will
> never (in the forseeable future) be used with the XAW client, we don't
> need to make them paletted PNGs.  So I could just run 'convert' over
> them.  Or is there a better conversion mechanism?

It is still a good idea to make them paletted PNGs because:
a) the tiles use less than 256 colours.
b) paletted PNGs are much smaller.

You may either use the GIMP or a tool like pngquant on a regular 24-bit
PNG to achieve this.

> Other tilesets may also begin to convert.  From the point of view of a
> tileset author, the immediate advantage of using PNG is that the windows
> client can use your tilesets unmodified.
>
> [1] ftp://ftp.freeciv.org/freeciv/incoming/xpm.tgz

---
Vasco Alexandre da Silva Costa @ Instituto Superior Tecnico, Lisboa





[Prev in Thread] Current Thread [Next in Thread]