Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User stone_chao's Avatar
    Join Date
    Jun 2009
    Posts
    6
    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 wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    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 not_dying's Avatar
    Join Date
    Feb 2009
    Location
    India
    Posts
    813
    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 C++
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved