×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Mar 2011
    Location
    Final Fantasy Land
    Posts
    31

    How to display image (image's path is inputted by user)

    I need to write a displaying image program. It accept image's path or image's name from user. Then display image on screen. I know one method to display image: create a mbm file then load and display image from mbm file. This method can't meet my requirement. It need to define a bitmap file in mmp file. It can't get image that user put in. Someone plz help me!

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

    Re: How to display image (image's path is inputted by user)

    Mbm is just the 'native' bitmap format, which can be handled directly with CFbsBitmap::Load/Save.
    For 'common' image formats (.bmp, .gif, .jpg, .png, just to name a few), you can use CImageDecoder.
    Also, for quick selection of files you can check MGFetch API.

  3. #3
    Registered User
    Join Date
    Mar 2011
    Location
    Final Fantasy Land
    Posts
    31

    Re: How to display image (image's path is inputted by user)

    I have read CFbsBitmap manual. I saw that Load() method need "The filename of the multi-bitmap (.mbm) file.". I need to load a bitmap file (.bmp) or some image format (jpeg, png etc.). Does the program can convert image to multi-bitmap by itself ?

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

    Re: How to display image (image's path is inputted by user)

    CImageDecoder is not CFbsBitmap::Load.

  5. #5
    Registered User
    Join Date
    Mar 2011
    Location
    Final Fantasy Land
    Posts
    31

    Re: How to display image (image's path is inputted by user)

    Thank for your help! I have solved my problem.

Similar Threads

  1. How to get image path from image gallary
    By bnpawar in forum Symbian
    Replies: 6
    Last Post: 2010-11-26, 07:48
  2. Replies: 3
    Last Post: 2010-06-22, 14:27
  3. Replies: 1
    Last Post: 2009-11-09, 03:30
  4. how to display image which is on the database.
    By j2me_beginner in forum Mobile Java General
    Replies: 5
    Last Post: 2009-09-18, 09:32
  5. Replies: 1
    Last Post: 2006-12-14, 03:39

Posting Permissions

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