[Freeciv-Dev] graphics (was Segmentation fault from civclient)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
There is an image library written by the rasterman.
http://www.labs.redhat.com/imlib/
>From the tutorial:
Imlib is display depth independent. It will load images and work in 24
bit internally, dithering, re-mapping or whatever is needed to generate
X drawables ready for use on the display by programs. It can also
handle rescaling images to different sizes very quickly, is configurable
to be "kind" to the colormap on 8-bit displays, generate transparencies,
load more than one image format (in fact Imlib will load any image
format), and handle intelligent caching for naive programs.
Is there any reason not to use this library? I am not yet familiar with
the freeciv code to know. But it seems that it would solve these
problems.
Bevan.
Falk Hueffner wrote:
>
> On Mon, 28 Dec 1998 23:01:05 -0600 (EST), Roy Stogner
> <roystgnr@xxxxxxxxx> wrote:
> >Is there any reason why the tileset is limited to a 32 color palette?
> >The graphics could be done a lot better by simply upping the number of
> >colors used.
>
> Well, people who use 8 bit displays get annoyed if the graphics use
> too many colors...
>
> >Is there any support planned for viewing maps at different scales? It
> >looked like the tile size was pretty hard-coded, but I have hope.
>
> Uhm, it should be doable, only someone would have to write scalin
> routines.
>
> Falk
|
|