|
|
User login
Feeds |
Converting .bmp file to .mbm file WITH Platette
|
|||||
| Wed, 2003-07-23 02:40 | |
Hi,Can anyone tell me how to convert windows .bmp file into a .mbm file programatically. I saw Eric's web page at newlc.com. Though it has the structure for an mbm file, it doesnt tell much about the structure of the palette such as: its location, and what the palette size mean. Is the Palette size total size of the palette in bytes OR is it number of color entries in the palette? Also , is every color entry in the palette made of 3 bytes? I would greatly appreciate if someone can throw more light in to all this. Also there is now document on what kind of RLE8 is used to compress the bitmap. My advance thanks to anyone who would help murali |
|
Forum posts: 31
To my knowledge (at least 8 bit) MBM files do not use a palette. 8 bit MBMs use the Symbian default palette (at least that's what I had to find out for Series 60).
zeep
zeep
Forum posts: 28
Thanks, That is some useful lead. I guess i have to experiment with the system palette by feeding in a sequence of color values to get complete mapping using CFsBitmap class.
Thanks
Forum posts: 130
numbers (0x00BBGGRR) specifying the palette for 8bpp colour bitmaps.
(Omission results in the use of a default palette.)