|
-
April 26th, 2005, 11:35 PM
#1
24bit bitmap problem in other display modes
Hello,
can someone explain how i can get a 24bit bitmap
to display in other display modes, my program
opens a third party data file that stores some bitmaps
in parts of it, the bitmap is stored as bgr raw data
i read this data and flip the bytes to rgb, then use
CreateBitmap(256,256,1,24,buf);
everything works fine in my program as long as my display
is set to 24bit color mode, any other mode i get a junk bitmap
or nothing...
i need a way to convert the bitmap to be compatible with
the screen and still be able to save the 24bit data to save back to
the file after modified
hope you can help thanks,
•SlimGradey•
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|