Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User satish1985's Avatar
    Join Date
    Oct 2010
    Posts
    113
    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 Expert symbianyucca's Avatar
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    28,673
    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 wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    Check the Console view in order to see how bmconv has failed exactly.

  4. #4
    Registered User satish1985's Avatar
    Join Date
    Oct 2010
    Posts
    113
    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 satish1985's Avatar
    Join Date
    Oct 2010
    Posts
    113
    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 wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    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 vineet.jain's Avatar
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    3,841
    paste here the .mbm resource file

  8. #8
    Registered User satish1985's Avatar
    Join Date
    Oct 2010
    Posts
    113
    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 vineet.jain's Avatar
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    3,841
    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. how to install an sisx application by including the file in image through iby file
    By arun_stmicro in forum Mobile Web Site Development
    Replies: 3
    Last Post: 2006-10-27, 08:52
  5. 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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved