×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    45

    Create CFbsBitmap from raw data

    Hi folks,

    I am trying to create a bitmap from a tab of raw data (TUint8* or TPtr8 or TBuf8). From the CFbsBitmap functions I found, I need to use SetScanLine() and set the data in the bitmap line by line.
    Am I right? Does anybody know a better way to set the bitmap data from a raw tab at once?

    Thanks,
    Seb.

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    8

    RE: Create CFbsBitmap from raw data

    In one color format (24bit rgb I believe, I can't quite remember what it's called) there's a member function AccessData() (or something similar) where you get a pointer to the raw data. I believe that can be used to set it. Which makes sense if it's the native data format, as that would be the only one you could address in raw form. (I'm planning on using this, but haven't yet...)

    Ben

Posting Permissions

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