×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Oct 2010
    Posts
    113

    how to add image in mbg file....

    Dear Sir,

    Please suggest how to add other bmp format image in ceikImage control. when ever i want to add other image of same size its give resource error like-
    Code:
    Creation Time	Description	Resource	Path	Location	Type
    1328877933820	* BMCONV failed	Testing		Unknown	C/C++ Problem
    1328877934831	the file 'Testing.mbg' cannot be opened	TestingContainer.cpp	Testing/src	line 16	C/C++ Problem
    1328877934851	the file 'Testing.rsg' cannot be opened	TestingContainer.cpp	Testing/src	line 17	C/C++ Problem
    1328877934871	undefined identifier 'EMbmTestingColors1'	TestingContainer.cpp	Testing/src	line 211	C/C++ Problem
    1328877934891	Testing.rsg: No such file or directory	Testing_reg.rss	Testing/data	line 7	C/C++ Problem
    Please suggest step for same.

    regards,
    Satish

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: how to add image in mbg file....

    basically you don't add other formats (SVG-T though can be added to multi file as well), so what about converting the image to bmp format (also note the bits/pixel requirements) and then adding them ?

  3. #3
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: how to add image in mbg file....

    Check the Console view in order to see how bmconv has failed exactly.

  4. #4
    Registered User
    Join Date
    Oct 2010
    Posts
    113

    Re: how to add image in mbg file....

    Dear Sir,

    Thanx for reply!

    My problem is when ever we want to add some other bmp image in *.mbm resource. this gives below error.
    when ever i remove that bmp all error remove.
    please suggest how to add bmp images ib mmp file for using its on picture on CEikImage. my whole work to changes image on time to time.
    Please help if possible. so kind of you.


    Regards,
    Satish

  5. #5
    Registered User
    Join Date
    Oct 2010
    Posts
    113

    Re: how to add image in mbg file....

    Quote Originally Posted by wizard_hu_ View Post
    Check the Console view in order to see how bmconv has failed exactly.
    Dear Wizard sir,
    I have been seen in my console view & find that its cause of "Invalid bitmap mode specified." please see below error code
    Code:
    BMCONV version 112.
    Compiling...
    Multiple bitmap store type: File store
    Epoc file: \S60\devices\S60_3rd_FP2_SDK_v1.1\epoc32\data\z\resource\apps\Imageconvert.mbm
    
    Bitmap file 1	: \Satish_Symbian\Imageconvert\gfx\list_icon.bmp
    Bitmap file 2	: \Satish_Symbian\Imageconvert\gfx\list_icon_mask.bmp
    Bitmap file 3	: \Satish_Symbian\Imageconvert\gfx\colors.bmp
    Invalid bitmap mode specified.
    * BMCONV failed
    
    BMCONV version 112.
    Compiling...
    Multiple bitmap store type: File store
    Epoc file: \S60\devices\S60_3rd_FP2_SDK_v1.1\epoc32\data\z\resource\apps\Imageconvert.mbm
    
    Bitmap file 1	: \Satish_Symbian\Imageconvert\gfx\list_icon.bmp
    Bitmap file 2	: \Satish_Symbian\Imageconvert\gfx\list_icon_mask.bmp
    Bitmap file 3	: \Satish_Symbian\Imageconvert\gfx\colors.bmp
    Invalid bitmap mode specified.
    * BMCONV failed
    please suggest how to solve this error.


    Regards,
    Satish

  6. #6
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: how to add image in mbg file....

    Since the first few bitmaps work, it may be a good idea checking how the problematic ones differ from them in the .mmp or .mk file (wherever they are listed).

  7. #7
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,025

    Re: how to add image in mbg file....

    paste here the .mbm resource file

  8. #8
    Registered User
    Join Date
    Oct 2010
    Posts
    113

    Re: how to add image in mbg file....

    Dear Sir,

    Please suggest in which folder i find .mbm resource file. I am little bit confuse.
    As per my knowledge In .bld.inf -> mmp ->image-> imageconvert.mbm & adding some bmp file from gfx file.
    But when ever i want to edit the property of image & change picture after then when i debug its give below error-
    Code:
    Creation Time	Description	Resource	Path	Location	Type
    1329198331698	* BMCONV failed	Imageconvert		Unknown	C/C++ Problem
    1329198332810	the file 'Imageconvert.rsg' cannot be opened	ImageconvertContainer.cpp	Imageconvert/src	line 17	C/C++ Problem
    1329198332830	Imageconvert.rsg: No such file or directory	Imageconvert_reg.rss	Imageconvert/data	line 7	C/C++ Problem
    1329198332850	* cpp failed	Imageconvert		Unknown	C/C++ Problem
    Please suggest step for edit the property of image & set another bmp file.
    thanks in advance!


    Regards,
    Satish

  9. #9
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    4,025

    Re: how to add image in mbg file....

    ahh my bad .mbm resource file has an unreadable format. As the error says about invalid bitmap mode, you might need to specify the following before image name :

    c24 list_icon.bmp or with c12

    you may also refer here:

    http://www.developer.nokia.com/Commu...NV-failed-quot

Similar Threads

  1. Replies: 15
    Last Post: 2011-08-18, 12:37
  2. puting a png image with other image data in the file
    By TacB0sS in forum Mobile Java General
    Replies: 17
    Last Post: 2009-12-07, 11:03
  3. Replies: 2
    Last Post: 2008-09-25, 06:53
  4. Replies: 3
    Last Post: 2004-07-21, 12:09

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×