home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!ux1.cso.uiuc.edu!news.cso.uiuc.edu!uxa.cso.uiuc.edu!jas37876
- From: jas37876@uxa.cso.uiuc.edu (John A. Slagel)
- Subject: Disp 24bpp on 8bpp system?
- Message-ID: <C0K4nM.14B@news.cso.uiuc.edu>
- Sender: usenet@news.cso.uiuc.edu (Net Noise owner)
- Organization: University of Illinois at Urbana
- Date: Fri, 8 Jan 1993 22:47:43 GMT
- Lines: 16
-
- Is there anyway to display a 24bpp DIB on a 256 color SVGA without
- implementing the code for color quantization? I wrote some code to
- convert 24bpp images into 8bpp DIBs, but it takes around 10 seconds
- for a 512x512 DIB, and I just wonder if there is a better way.
-
- I did try using SetDIBitsToDevice, but the picture only uses the 20
- system colors to draw the 24bpp DIB. The result is pretty nasty looking.
-
- So, I would be intereseted in hearing how other people got around the
- problem of using 24bpp DIBs on a 256 color system. Thanks!
-
- --
- -----------------------------------------------------------------------------
- John A. Slagel "My old man used to tell me, before he left this
- j-slagel1@uiuc.edu shitty world, never chase buses or women- you
- (217) 337-7930 always get left behind." -The Marlboro Man
-