Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!ucsd!nosc!helios.ee.lbl.gov!ux1.lbl.gov!beard From: beard@ux1.lbl.gov (Patrick C Beard) Newsgroups: comp.sys.mac.programmer Subject: Re: Help with setting pixel color Message-ID: <559@helios.ee.lbl.gov> Date: 30 Jul 88 11:02:25 GMT References: <77900003@peterson> Sender: usenet@helios.ee.lbl.gov Reply-To: beard@ux1.lbl.gov (Patrick C Beard) Organization: Lawrence Berkeley Laboratory, Berkeley Lines: 14 In article <77900003@peterson> peterson@peterson.applicon.UUCP writes: > >I would like to be able to set a pixel to a color using the color index >number rather than RGB (as in SetPixel(RGB Color)). The best way to do this in a "by the rules" manner is to create a pixmap in an offscreen CGrafPort, and then flash it on to the screen via copybits. I am currently using this method in a program that I've written for displaying CCD images on a Mac II. If you need further assistance, please reply via net mail. Patrick Beard Lawrence Berkeley Laboratory beard@ux1.lbl.gov