Xref: utzoo comp.graphics:2690 comp.sys.ibm.pc:16588 Path: utzoo!utgpu!jarvis.csri.toronto.edu!me!couch From: couch@mill.me.toronto.edu () Date: Thu Jun 23 17:43:16 EDT 1988 Message-ID: <9588.1988Jun23.17:43:16@mill.me.toronto.edu> Organization: University of Toronto Mechanical Engineering Newsgroups: comp.graphics,comp.sys.ibm.pc,comp.window.misc Subject: MS Windows 2.03 Software Development Kit Reply-To: couch@me.toronto.edu Distribution: na Does anyone have experience with gray scale images with MS Windows. I am trying to display a 16 level gray scale image within a Windows application. I am using a VGA compatible card (ATI VIP). If I retrieve the screen display context and create a compatible bitmap, the bitmap is in the following form: red scan 0..n-1 green scan 0..n-1 blue scan 0..n-1 where n is the height of the image in raster lines. Pixels in a scanline are represented by one bit per colour. The problem with this arrangement is that only eight colours can be specified. I want to use the full 16 available with the VGA standard. Thanks in advance.