Bitmaps And Palettes
-
How could one create a static bitmap control that is palette savvy? My controls look great at 16 and 24 bits but but in 8 bit mode they look disappointing. Thanks
-
How could one create a static bitmap control that is palette savvy? My controls look great at 16 and 24 bits but but in 8 bit mode they look disappointing. Thanks
I'm actually just about to combine my DIBSection class with my custom image viewer demonstration in order to create a decent picture control with scroll bars, palette support etc. Interested?
-
I'm actually just about to combine my DIBSection class with my custom image viewer demonstration in order to create a decent picture control with scroll bars, palette support etc. Interested?
Sounds like fun to me. I've done plenty of bit blitting but I must profess an ignorance of DIB sections. How do they differ from Windows bitmaps?
-
Sounds like fun to me. I've done plenty of bit blitting but I must profess an ignorance of DIB sections. How do they differ from Windows bitmaps?
DIBSections are similar to bitmaps in that you have a handle that you can work with (an HBITMAP in fact), but they are device independant. They offer the best of both worlds: device independance and ease of use. They are also extremely useful when working in CE, since CE doesn't support many of the DIB functions - but does support DIBSections.