home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!vnet.ibm.com
- From: Pauley@vnet.ibm.com (Paul Benson)
- Message-ID: <19920908.094900.187@almaden.ibm.com>
- Date: Tue, 8 Sep 92 12:47:44 EDT
- Newsgroups: comp.sys.apple2
- Subject: Re: Simulated Dithering
- Organization: IBM Personal Computer Co. - PS/1 Development
- Disclaimer: This posting represents the poster's views, not those of IBM
- News-Software: UReply 3.0
- References: <1992Sep6.224946.9203@fawlty.towers.oz.au>
- Lines: 14
-
- In <1992Sep6.224946.9203@fawlty.towers.oz.au> John MacLean writes:
- >What algorithm should be used to simulate the 640 mode SHR dithering in
- >software?
- >ie: Given two RGB values, what is the closest RGB value to the color that
- >will appear on the screen, if these two colors are placed side by side in
- >640 mode?
-
- Well, this is not really an answer, just something to consider. Have you
- tried converting the RGB values to HCB (hue, contrast, brightness) (?)
- values? Then the new = (old1 + old2)/2 might yield a better result.
- I don't know the RGB->HCB formula offhand, but I know I've seen it.
-
- Pauley
- GEnie: P.Benson1
-