×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Super Contributor
    Join Date
    Jul 2007
    Location
    Beijing, China
    Posts
    538

    how to estimate physical size of CFbsBitmap

    hi,
    If i load a bitmap with 10*10 size in pixel, how many memory will be allocated for creating corresponding CFbsBitmap.
    i estimate it in the following way:
    sizeInByte = 10*10*4(32bit TRgb) = 400 bytes

    is it right? or else what's the correct way?

    thanks

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

    Re: how to estimate physical size of CFbsBitmap

    the bytes/pixel depends on the color depth, thus with 32 bit colors you are correct.

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

    Re: how to estimate physical size of CFbsBitmap

    Depending on what you are going to do exactly, you may also find CFbsBitmap::ScanLineLength useful.

Similar Threads

  1. Physical LCD screen size database
    By tangenttrading in forum General Development Questions
    Replies: 2
    Last Post: 2008-05-28, 19:14
  2. Req: Looking for physical display size of all phones
    By ehudshapira in forum Feedback - Nokia Developer Services & Infrastructure
    Replies: 4
    Last Post: 2008-03-11, 21:00
  3. Audio Input Stream on N80
    By tkaihock in forum Symbian Media (Closed)
    Replies: 9
    Last Post: 2006-06-30, 09:15
  4. User break point error in Grid
    By ag24master in forum Symbian User Interface
    Replies: 0
    Last Post: 2003-08-07, 08:20
  5. Replies: 17
    Last Post: 2003-07-14, 09:33

Posting Permissions

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