Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!usc!snorkelwacker!mit-eddie!uw-beaver!fluke!ssc-vax!coy From: coy@ssc-vax.UUCP (Stephen B Coy) Newsgroups: comp.sys.ibm.pc.programmer Subject: Re: 256 GrayScale Matching to 256 Colors Keywords: Look Up Table Needed Message-ID: <3229@ssc-vax.UUCP> Date: 5 Mar 90 18:21:18 GMT References: <858@dukempd.phy.duke.edu> <1990Mar2.043848.501@uncecs.edu> Organization: Boeing Aerospace & Electronics, Seattle WA Lines: 18 In article <1990Mar2.043848.501@uncecs.edu>, cjl@uncecs.edu (Charles J. Lord) writes: > What I've done on my machine is to load the 256 color registers > with each of 0..63 repeated four times to make a semi-smooth > 8-bit output. It works pretty well for dumping 8-bit B&W images > to the monitor. If anyone needs code, let me know. Another advantage to this method is that even though the video output is only 6-bits, the data stored in video memory is still 8-bits. This means that any manipulation/analysis of the data can be done without losing precision. > * Charles Lord ..!decvax!mcnc!ecsvax!cjl Usenet (old) * > * Cary, NC cjl@ecsvax.UUCP Usenet (new) * > * #include cjl@ecsvax.BITNET Bitnet * > * #include cjl@ecsvax.uncecs.edu Internet * Stephen Coy uw-beaver!ssc-vax!coy