×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Nov 2011
    Posts
    71

    Exclamation Reading CFbsbitmap array

    Hi all,
    I am having bitmap array like

    **************************************************************************
    CArrayFixFlat<CFbsBitmap> *iIconImageArray = new (ELeave) CArrayFixFlat<CFbsBitmap>(10);
    **************************************************************************

    I want to read these bitmap files to a local bitmap file. How can i do this.





    Thanks.

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

    Re: Reading CFbsbitmap array

    I would rather use RPointerArray, basically you would construct the CFbsBitmap normally and then just add it to the array.. Basically having something in array would not change its normal behavior.

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

    Re: Reading CFbsbitmap array

    "Read" and "to" leave the question a bit ambiguous.
    If you want to load 10 bitmaps from 10 image files, there is no difference from loading a single bitmap. If it is in a .mbm, use CFbsBitmap::Load, if it is some "normal" file, use CImageDecoder. And repeat both for all the 10 bitmaps.
    If you mean you want to create a single .mbm file using 10 bitmaps in the memory, that may be possible with CFbsBitmap::StoreL, but first you will have to CFbsBitmap::Save the files individually.
    If you want to save the 10 bitmaps into say 10 .bmp files, use CImageEncoder 10 times.

  4. #4
    Registered User
    Join Date
    Nov 2011
    Posts
    71

    Re: Reading CFbsbitmap array

    Thanks both of you to reply .....

    I got some sample of your suggestions on wiki. now i am having my bitmap array and can access index values.

Similar Threads

  1. Problem with collecting CFbsBitmap in array
    By Mozart2007 in forum Symbian
    Replies: 9
    Last Post: 2009-09-23, 13:01
  2. Extracting the pixel array from CFbsBitmap object
    By gaurav17281 in forum Symbian
    Replies: 4
    Last Post: 2007-08-21, 09:25
  3. array of CFbsBitmap
    By apitoman in forum Symbian User Interface
    Replies: 2
    Last Post: 2007-02-26, 07:25
  4. CFbsBitmap array deletion problem
    By Blkangel in forum Symbian
    Replies: 4
    Last Post: 2004-04-23, 11:38
  5. array of CFbsBitmap
    By apitoman in forum Symbian User Interface
    Replies: 0
    Last Post: 2004-04-22, 13:29

Posting Permissions

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