home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / graphics / 9532 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  873 b 

  1. Path: sparky!uunet!olivea!spool.mu.edu!darwin.sura.net!jvnc.net!rutgers!concert!rock!krueger
  2. From: krueger@rock.concert.net (Richard C Krueger -- Fauve Software)
  3. Newsgroups: comp.graphics
  4. Subject: 24bit BMP files on an 8 bit display
  5. Message-ID: <1992Sep8.205219.1497@rock.concert.net>
  6. Date: 8 Sep 92 20:52:19 GMT
  7. Organization: CONCERT-CONNECT -- Public Access UNIX
  8. Lines: 11
  9.  
  10.  
  11. I am trying to display a 24bit .BMP file on 8 bit SVGA under
  12. MicroSoft Windows. I know that I could quantize the image down
  13. to 8 bits and set up a palette of 256 color, but I need something
  14. faster. If I use the Windows 3.1 "SetDIBitsToDevice" function 
  15. on a 24 bit Device Independent Bitmap, the system slows down to
  16. a crawl because Windows tries to match the color of each pixel
  17. with one of the colors in the realized palette. If anyone has 
  18. any suggestion please let me know.
  19.  
  20. Richard Krueger.
  21.