×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jun 2009
    Posts
    6

    Unhappy How to convert MceoCapturedDataReady( TDesC8* aData ) to CfbsBitmap

    Dear all:

    Explorering the CameraWrapper example, I'd like to use the data of MceoCapturedDataReady for some image progressing.

    CCameraWrapperExampleAppView::MceoCapturedDataReady( TDesC8* aData )

    I plan to 'convert' it to CFbsBitmap object which I can get Pixels and have my program to work with this CFbsbitmap.

    Not sure how to do it. Is it can be done?
    The parameter aData should be a pointer which stored jpeg data,right? (Since CCamera::EFormat default to be JPEG)
    Since I can use getPixel function of CFbsbitmap to get Pixel value, what I need is 'transfering TDesC8* to CFbsbitmap format'.
    And I wanna to know how.
    I am not sure if CImageDecoer should get involved...

    Would you please advise?
    Thanks a lot!

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

    Re: How to convert MceoCapturedDataReady( TDesC8* aData ) to CfbsBitmap

    CImageDecoder is the class which can decode common image formats for you. Search for it in the Wiki for example.

  3. #3
    Nokia Developer Champion
    Join Date
    Feb 2009
    Location
    India
    Posts
    1,173

    Re: How to convert MceoCapturedDataReady( TDesC8* aData ) to CfbsBitmap

    Image processing can be done by calling the functino MceoCapturedBitmapReady() instead of calling MceoCapturedDataReady(). This function itself returns object of CFbsBitmap type. With that, you can directly manipulate the image.

Similar Threads

  1. How to convert CFbsBitmap to TTexture?
    By Mozart2007 in forum Symbian
    Replies: 0
    Last Post: 2009-05-20, 11:13
  2. How to convert a CFbsBitmap to TBitmap?
    By diluo in forum Symbian Media (Closed)
    Replies: 16
    Last Post: 2008-01-14, 14:39
  3. How to convert the jpeg image data to CFbsBitmap
    By whitewinds in forum Symbian Media (Closed)
    Replies: 3
    Last Post: 2007-04-17, 08:00
  4. How to convert the Exif image data in HBufC8 to CFbsBitmap
    By whitewinds in forum Symbian Media (Closed)
    Replies: 0
    Last Post: 2006-12-25, 09:28
  5. How to convert image descriptor into CFbsbitmap?
    By jpottojp in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2006-02-15, 03:38

Posting Permissions

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