Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!usc!elroy.jpl.nasa.gov!ncar!gatech!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!icdoc!syma!robdu From: robdu@syma.sussex.ac.uk (Robert James Duncan) Newsgroups: comp.sys.mac.programmer Subject: greyscale video device driver Keywords: quickdraw, rom, device, driver Message-ID: <3936@syma.sussex.ac.uk> Date: 30 Nov 90 12:56:36 GMT Organization: Univ. of Sussex, Brighton, UK Lines: 15 I am writing a driver for a greyscale video device and I need to know how to inform Quickdraw that there is only one output channel instead of the normal three (red, green and blue). If I had a fixed linear ramp of greys, then I suppose I could specify that I was a direct device with each 8-bit pixel consisting of one 8-bit component. Does any one know whether this will work, or how to specify greyscale for a writeable clut, i.e. an indexed device? Rob. -- --------------------------------------------------------------- rob duncan, school of cognitive and computing sciences, university of sussex, brighton, uk. robdu@cogs.susx.ac.uk ---------------------------------------------------------------