[CF-Devel] png<-> xpm 24<->32

Michael Toennies mtx93 at tzi.de
Sun Nov 5 23:26:38 CST 2000


>
     
      -----Original Message-----
     
     >
     
      From: 
      
      crossfire-devel-admin at lists.real-time.com
      
      
     >
     
      [mailto:
      
      crossfire-devel-admin at lists.real-time.com
      
      ]On Behalf Of Mark
     
     >
     
      Wedel
     
     >
     
      Sent: Monday, November 06, 2000 5:29 AM
     
     >
     
      To: Michael Toennies
     
     >
     
      Cc: Crossfire-Devel
     
     >
     
      Subject: Re: [CF-Devel] png<-> xpm 24<->32
     
     >
     
     
     >
     
     
     >
     
     
     >
     
       As a note, this can also be done in the server distribution -
     
     >
     
     
     >
     
       If we can identify what png's are resized xpm's (and thus pretty
     
     >
     
      ugly),it is
     
     >
     
      easy enough to make non expanded (yet resized) png's in the
     
     >
     
      distribution that
     
     >
     
      look better.
     
     >
     
     
     >
     
       What I mean is that you take the 24x24 xpm (which looks good),
     
     >
     
      and turn it into
     
     >
     
      a 32x32 png, with the 24x24 data centered (so you have 4 border
     
     >
     
      pixels).  Doing
     
     >
     
      this should be quite easy - just some pipes of data through the
     
     >
     
      pbm toolkit.
     
     >
     
     
     >
     
       The problem is identifying the bad png's.
     
     >
     
     
     >
     
       I will note there is a good many of png's that are 32x32 and
     
     >
     
      look really good -
     
     >
     
      David Sundqvist did some work on those.  It would be a shame to
     
     >
     
      lose those.
     
     >
     
     
     >
     
       As a note, at least on the unix client, the image data the
     
     >
     
      server sends to the
     
     >
     
      client is only relevant in that the client can understand it and
     
     >
     
      make it some
     
     >
     
      form of drawable.  Whether it be png or xpm, what the client gets
     
     >
     
      a hold of it
     
     >
     
      and renders it, it all becomes and xpixmap no matter what the
     
     >
     
      original source.
     
     >
     
      So the idea of at least the unix client getting a xpm and
     
     >
     
      converting it to a png
     
     >
     
      makes no sense, so all it will do is take that png and convert it
     
     >
     
      to an xpixmap,
     
     >
     
      so why not do that with the xpm in the first place.
     
     >
     
     
     >
     
       So to restate:
     
     >
     
       We need to identify what pngs images out there are scaled up
     
     >
     
      xpm's that would
     
     >
     
      look better as non scaled xpm's and make the change.
     
     >
     
     
     >
     
       As for the perspective (iso) images:  Its a mixed bag - I agree
     
     >
     
      that for some
     
     >
     
      objects and monsters, the flatter representation would look
     
     >
     
      better, as it is
     
     >
     
      clearer.  But for some things, like buildings and walls and some
     
     >
     
      other objects,
     
     >
     
      I think the perspective view looks nicer.
     
     >
     
     
     >
     
       The preferance probably depends a lot on the size of the image
     
     >
     
      (perspective on
     
     >
     
      single space objects doesn't work because generally it results in not much
     
     >
     
      visible area), and also how quickly you need to identify it.
     
     >
     
      Being able to
     
     >
     
      identify that the shop is a weapons vs armor shop in an instant isn't very
     
     >
     
      demanding, but being able to identify monsters quickly (say from a fairly
     
     >
     
      harmless one compared to a nasty spell caster) is pretty important.
     
     
For the iso images, i mainly mean the monsters like the guards... They look
cruel
and the colors are bad. The buildings/walls are ok, except the hidden walls
and
the doors/gates, which don't are set to left and right exactly to a wall (AV
wrotes
a mail about it some day ago).

There are also some ok looking 32x32 monsters like the cleaning woman, they
are old
style and looks good, perhaps they are from the 32x32 xpm set (which i never
see).

the xpm to png resize can be done for many items. Also can we eleminate some
of the
bad looking 32x32 pngs with it.

There are also some quick task, which should goes fast in the CVS.
What we MUST change are the skills scrolls fo example! They look exactly
like normal scrolls,
except 2-3 pixels. Also some other like the holder of arrows are from what i
call the "brown color"
set. They look all brown and i think the old xpms look some nicer, even if
they are smaller.

The nice thing is, that most rezist pictures are items and some buildings.

Because the monsters should more "in size" we should only resize the items.

Thats makes the whole task more easy to handle. Now we need a poor guys, who
goes through the items with a program and change the xpm to png of the bad
pictures. Who will ? :)

What we get should be a little "out of size" set, but it should look much
nice
and should be useful and playable until some guys redraw it.

I will make a mail with images which should be changed which should be
updated by you all.

Michael


    
    


More information about the crossfire mailing list