Specifing colour depth of the bitmaps in the .mmp
Login to reply to this topic.
Thu, 2003-09-04 01:07
Joined: 2003-07-02
Forum posts: 130
I have ever used bitmaps of 12bpp in the .mbm, except for masks that i have used 1bpp.

But now  i have tried to use 8bpp on the normal bitmaps , and i put this on the .mmp:

SOURCE   c8 000.bmp 001.bmp 002.bmp 003.bmp

Now i put c8 instead of c12, and it compiles well and all is all right.

But when i use the bmconv tool too see the content of the .mbm generated, it says me that the bitmaps are in 12bpp.I have noticed this because the size of the file in 12bpp is the same as in the 8bpp.

¿Why this? ¿How can i use 8bpp on my bitmaps?

Thanks!

Fri, 2005-04-22 09:17
Joined: 2004-12-23
Forum posts: 239
Hi All

I m getting BMCONV  unknown compression type.
I m trying to convert bitmap to mbm for my application.But my application get failed here.What should I do.
Any help/

---------------
Bhatt Kavita

Fri, 2005-04-22 09:57
Joined: 2005-01-24
Forum posts: 58
Hi,
may i hav a look at the command u used for converting bmp to mbm..by seeing it i may b able to solve ur problem
regs
saju

"I dont know with what weapons World War III will be fought, but World War IV will be fought with sticks and stones."
.... Albert Einstein

Fri, 2005-04-22 10:06
Joined: 2004-12-23
Forum posts: 239
Hi I m not using any command.
I m simply tyring to compile app from codewarrior.
Thanks

---------------
Bhatt Kavita

Fri, 2005-04-22 10:30
Joined: 2004-07-28
Forum posts: 1379
Whats the START BITMAP statment in the MMP look like?

didster

Fri, 2005-04-22 11:03
Joined: 2004-12-23
Forum posts: 239
hi
It seems like this

// Creates Mbm file.
START BITMAP    Tester.mbm
HEADER
TARGETPATH      \system\apps\Tester
SOURCEPATH      ..\Bitmaps
SOURCE          c8 test_icon.bmp
SOURCE          c8 test_icon_mask.bmp

END

---------------
Bhatt Kavita

Fri, 2005-04-22 11:05
Joined: 2004-07-28
Forum posts: 1379
And test_icon.bmp and test_icon_mask.bmp really are 8-bit bitmaps?

didster

Fri, 2005-04-22 11:41
Joined: 2004-12-23
Forum posts: 239
hi didster
On finding the properties of .bmp i m getting bitdepth of 32 bit.
does it affecting any thing.

---------------
Bhatt Kavita

Fri, 2005-04-22 11:44
Joined: 2005-01-24
Forum posts: 58
hi,
it must be 8Bppp if u r using c8 in bmconv
regs saju

"I dont know with what weapons World War III will be fought, but World War IV will be fought with sticks and stones."
.... Albert Einstein

Fri, 2005-04-22 11:46
Joined: 2004-12-23
Forum posts: 239
hi
I have some sample example like simplelist
here they are using c12 bmp and on finding its properties i m finding icons bitdepth as 24 .So wht does it mean.
It shows no error.
If i m wrong ,pls correct me is bitdepth is the same which I m thinking of.

---------------
Bhatt Kavita

Fri, 2005-04-22 12:11
Joined: 2005-01-24
Forum posts: 58
Hi, try it on the command prompt ...and inspect its feedback

"I dont know with what weapons World War III will be fought, but World War IV will be fought with sticks and stones."
.... Albert Einstein


copyright 2003-2009 NewLC SARL