Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2002:
[Freeciv-Dev] Re: PNG for freeciv
Home

[Freeciv-Dev] Re: PNG for freeciv

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: PNG for freeciv
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Thu, 31 Oct 2002 23:49:40 +0000 (GMT)

On Thu, 31 Oct 2002, Jason Dorje Short wrote:
> This is disadvantageous for several reasons.XPM files are uncompressed
> and substantially larger than PNG (converting all XPMs in the CVS
> distribution drops the size from 3.6MB to 800kB).XPM isn't fully
> portable - the win32 client uses only png (I think) and so to compile it
> all XPM files must be converted by hand. No doubt there are more
> reasons as well.

XPM's lack of an alpha channel also comes to mind. Loading PNG should also
be faster.

> 3.In runtime, the png files could be loaded and converted to XPMs.
> This would require a *runtime* dependency on ImageMagick or another
> conversion program.

How common is imagemagick on platforms where gtk/imlib is not?

> (Note that there could be licence issues here, but
> I think ImageMagick is safe to use.)This avoids all disadvantages
> above.However, the conversion process is not fast - a demo program I
> wrote to do the conversion took 23 seconds to load all PNG files from
> trident/ and misc/.

23 seconds to load them all, on what kind of computer?

  - Per



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