Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ukma!rutgers!cmcl2!rna!dan From: dan@rna.UUCP (Dan Ts'o) Newsgroups: comp.graphics Subject: 24-bit RGB color to 8-bit color ? Message-ID: <538@rna.UUCP> Date: 24 Apr 89 18:03:46 GMT Organization: Rockefeller University - Neurobiology Lines: 24 Does anyone have a program to take an image with 24-bit color info and build an 8-bit color map that is "good" (find the 256 color map entries that produce the least error) ? Note that I am not asking for a 24->8 bit dithering program. It would seem that the program I want must internally build a histogram of the occurences of each of the 16M possibilities and then doles each of the 256 available entries according to overall minimum color error (ideally, including psychophysical facts). Would the results be better in HSI space than RGB space ? Whoever builds those nice GIF images (GIF is only 8-bit) must have such a program. Thanks. Cheers, Dan Ts'o 212-570-7671 Dept. Neurobiology dan@rna.rockefeller.edu Rockefeller Univ. ...cmcl2!rna!dan 1230 York Ave. rna!dan@nyu.edu NY, NY 10021 tso@rockefeller.arpa tso@rockvax.bitnet