home *** CD-ROM | disk | FTP | other *** search
- Path: surfnet.nl!sun4nl!xs4all!noblehouse!Ronald
- Newsgroups: comp.sys.amiga.programmer
- From: Ronald@noblehouse.xs4all.nl (Ronald van Eijck)
- Subject: Wanted: Color reduction algorithm.
- X-NewsSoftware: GRn 2.1 Feb 19, 1994
- MIME-Version: 1.0
- Content-Type: text/plain; charset=iso-8859-1
- Content-Transfer-Encoding: 8bit
- Message-ID: <Ronald.07co@noblehouse.xs4all.nl>
- Date: Sun, 25 Feb 96 13:53:37 CET
- Organization: R&R Software
-
- Hi,
-
- I'm looking for some source code that can reduce a colormap
- from x entries to y entries eliminating colors that are
- closest together. I'll probably need to be able to lock a
- number of colours that are used in cycles etc. but If I got
- the basic algorithm I can add that myself. I do not want
- to use the 3.0 obtainbestpen etc functions because these do
- not deal with whole colormaps at a time and I doubt that if
- I do an obtainbestpen for every colour that I'll get very
- good results.
-
- C'ya,
-
- --
- * Ronald van Eijck
- *
- * If you know the enemy and know yourself, you need not fear
- * the result of a hundred battles. (Sun Tzu)
-