×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Super Contributor
    Join Date
    Jun 2005
    Location
    Berlin
    Posts
    721

    How to view mbm files on Windows, which is saved from CFbsBitmap

    Hello,


    I am using CFbsBitmap::Save() to save an image to mbm file.

    but I can't open it with mbmviewer.

    Does anyone know, how to view it on Windows (and even converting to other image formats)?


    Regards,

    Pai
    Symbian && Android && iPhoneOS

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

    Re: How to view mbm files on Windows, which is saved from CFbsBitmap

    I do not know the exact solution, personally I immediately switched to saving .bmp files when I was facing this issue
    Code:
    CImageEncoder *enc=CImageEncoder::FileNewL(CEikonEnv::Static()->FsSession(),_L("e:\\test.bmp"),_L8("image/bmp"),CImageEncoder::EOptionAlwaysThread);
    TRequestStatus stat;
    enc->Convert(&stat,*bitmap);
    User::WaitForRequest(stat);
    delete enc;
    It is ugly and it works.
    Theoretically you can try if CFbsBitmap::StoreL does something good to the images - I have not checked.

  3. #3
    Super Contributor
    Join Date
    Jun 2005
    Location
    Berlin
    Posts
    721

    Re: How to view mbm files on Windows, which is saved from CFbsBitmap

    Hello wizard_hu_,


    Thank you very much.

    It is suite for my purpose.


    Regards,

    Pai
    Symbian && Android && iPhoneOS

Similar Threads

  1. windows xp & png files
    By DeepBlu in forum Mobile Java General
    Replies: 1
    Last Post: 2006-01-30, 10:24
  2. Replies: 1
    Last Post: 2005-10-17, 04:23
  3. How to capture our view into Bitmap (CFbsBitmap)?
    By oslario in forum Symbian User Interface
    Replies: 5
    Last Post: 2005-06-21, 05:49
  4. To view Excel files
    By zhenwe1 in forum Mobile Java Media (Graphics & Sounds)
    Replies: 6
    Last Post: 2003-11-28, 10:49
  5. How to view mms files using Nokia Internet Toolkit
    By deramalg in forum Mobile Web Site Development
    Replies: 1
    Last Post: 2002-08-06, 12:15

Posting Permissions

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