home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / apple2 / 20016 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.0 KB

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