home *** CD-ROM | disk | FTP | other *** search
- Xref: sparky comp.os.msdos.programmer:9137 alt.graphics.pixutils:2116
- Path: sparky!uunet!sun-barr!olivea!mintaka.lcs.mit.edu!ai-lab!hal.gnu.ai.mit.edu!rwed
- From: rwed@hal.gnu.ai.mit.edu (N7YVM)
- Newsgroups: comp.os.msdos.programmer,alt.graphics.pixutils
- Subject: indexed 256 color palette selection
- Message-ID: <27589@life.ai.mit.edu>
- Date: 7 Sep 92 21:54:43 GMT
- Sender: news@ai.mit.edu
- Followup-To: comp.os.msdos.programmer
- Lines: 18
-
-
- Hello!
-
-
- Ive got a bunch of raw images, i.e. image that are stored as memory as
- separate r g and b images, each byte being between 0 thru 255 and
- indicating intensity...
-
- What I need is an algorithm that selects the best indexed 256 color
- palette for a particular image.
-
- In other words I got some jpegs I need to convert to GIFS :)
-
- Does anyone know of ANY algorithms that select such palettes? I think
- the optimum palette would have each palette entry used an equal number
- of times? I have developed an algorithm that does this for greyscales,
- but cant seem to find one that handles rgb palettes.. Thanks if you
- have any advice to offer me !!
-