Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!maverick.ksu.ksu.edu!matt.ksu.ksu.edu!nan From: nan@matt.ksu.ksu.edu (Nan Zou) Newsgroups: comp.windows.ms Subject: Re: Changing colors Message-ID: <1991Mar4.060202.7515@maverick.ksu.ksu.edu> Date: 4 Mar 91 06:02:02 GMT References: <1991Mar2.200921.29998@maverick.ksu.ksu.edu> <1991Mar2.010527.3569@ux1.cso.uiuc.edu> <1991Mar3.162536.8865@ux1.cso.uiuc.edu> Sender: news@maverick.ksu.ksu.edu (The News Guru) Organization: Kansas State University Lines: 27 mcdonald@aries.scs.uiuc.edu (Doug McDonald) writes: >In article <1991Mar2.200921.29998@maverick.ksu.ksu.edu> nan@math.ksu.edu (Nan Zou) writes: >>mcdonald@aries.scs.uiuc.edu (Doug McDonald) writes: ... >>Windows only supports some 20 solid colors, the rest are dithered. There's >>nothing you can do. >Oh. I thought that it could display 256 colors! How do things like >WinGif work? It sure looks like 256 colors to me! In any case, >simply CHANGING one of the 20 solid ones would be fine. But HOW do >I do that legally. (I did do it illegally - I wrote a Windows program that >simply pokes the proper valures for a dark gray into the VGA registers. >But then Windows doesn't know about it!) I didn't make myself very clear. An application like Wingif, PaintBrush that's 256-color aware can work with 256 colors within the application, but windows itself only gives you a very limited color selection. Take PaintBrush, if you installed a 256-color driver you can display a 256-color image, but when you try to edit, no matter how you change the RGB values you still get dithered ones. -- Nan Zou | Bitnet : nan@ksuvm Kansas State University | Internet: nan@math.ksu.edu #include | nan@matt.ksu.ksu.edu