cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1997/08/06/03:34:47

From: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: palette & Allegro
Date: 1 Aug 1997 06:05:52 GMT
Organization: The National Capital FreeNet
Lines: 26
Message-ID: <5rruc0$703@freenet-news.carleton.ca>
References: <33d76086 DOT 0 AT 131 DOT 162 DOT 2 DOT 91> <mHE7SCAmJ02zEwgC AT foobar DOT co DOT uk>
Reply-To: ao950 AT FreeNet DOT Carleton DOT CA (Paul Derbyshire)
NNTP-Posting-Host: freenet2.carleton.ca
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Paul Shirley (Paul AT no DOT spam DOT please) writes:
> That weighting is probably *not* the one you want since you could end up
> with some sprites using rare colours being allocated too few in the
> result. Choosing a different mapping strategy (other than statistical)
> is probably a good idea.

Use Paint Shop. It can remap the palette for you. It gives an optimized
and standard option... try the optimized, and if you get bletch, use undo
and then try standard. Usually optimized works well. One time it didn't
was when I had a background with a gradient of blue and a foreground full
of lots of colored spheres. (Yes, it did come from POV-Ray.) When I got a
gorgeous background and flat colored spheres I realized PSP does have
limitations, such as it isn't smart enough to tell background from
foreground :-) It must have used a pixel by pixel algorithm, and it found
there were tons more blue pixels than any other color, even though the
spheres were the focal objects in the picture.
I undid and used the Standard color reduction, presto: great spheres and
background both. Standard uses a color cube with a large range of colors
of all hues, saturations, and luminances.

--
    .*.  Where feelings are concerned, answers are rarely simple [GeneDeWeese]
 -()  <  When I go to the theater, I always go straight to the "bag and mix"
    `*'  bulk candy section...because variety is the spice of life... [me]
Paul Derbyshire ao950 AT freenet DOT carleton DOT ca, http://chat.carleton.ca/~pderbysh

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019