HowTo->Create an 8bit bitmap in a 16bit screen??? 
Author Message
 HowTo->Create an 8bit bitmap in a 16bit screen???

How can I create an 8bit bitmap on a  16,24 or 32 bit screen...

I've tried:
CCLientDC orgDC(&screen);
CDC compDC;
CBitmap image;
compDC.createCompatibleDC(orgDC);
image.CreateBitmap(640,480,1,8, (void*) stream)
compDC.selectObject(image);

orgDC(0,0,640,480,compDC,0,0,SRCAND);

it doesn't work....

How can I do this?!?

Is the secret in CreateDIBitmap?

Thanks
Louis



Mon, 24 Sep 2001 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. HowTo->Create an 8bit bitmap in a 16bit screen???

2. 16bit bitmap -> 24bit bitmap

3. 16bit bitmap -> 24bit bitmap

4. How to:8Bit char to 16bit

5. NewbieQ:What are 8bit/16bit/24bit/True colors?

6. Displaying 8bit bitmaps in 8bit display mode

7. Plea for help in creating bitmap image to file of the screen

8. 8bit -> 7bit conversion

9. Creating 8bit Greyscale palette

10. Drawing a bitmap to screen, But having a Bitmap File in memory instead of the bits

11. DLL 16bit -> DLL 32bit

12. 32bit = 16bit x 16bit

 

 
Powered by phpBB® Forum Software