here is my situation.i use android ndk r8e + cocos2dx-2.2.2 + ccsprite and i can’t use any bmp in my code.but in the ios with cocos2dx-2.2.2,it can display bmp in menuitem.when i go to the souce code,all goes to ccimage.there are png,jpg but no bmp,wierd,h?
This is vital! For example when you get images from the web - you cant convert then that easy. You need some another graphics library to detect its format, then in case of BMP you convert it and only then pass to cocos. It is impossible, for example, to show facebook avatars as some of them (old ones) can be in BMP and cocos just crash with Assert there (im talking about ccp version).