Article View: comp.os.msdos.programmer
Article #1339indexed 256 color palette selection
From: N7YVM
Date: Mon, 07 Sep 1992 21:54
Date: Mon, 07 Sep 1992 21:54
18 lines
1063 bytes
1063 bytes
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 !!
Technical Details
Message-ID:
<27589@life.ai.mit.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!sun-barr!olivea!mintaka.lcs.mit.edu!ai-lab!hal.gnu.ai.mit.edu!rwedShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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