×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Nov 2005
    Posts
    9

    resize a CfbsBitmap problem

    Hi!

    I tryed to resize a CfbsBitmap, and I used the Resize() method, but it did'nt work correctly, because if I wanted to resize the bitmap to 200*100, the method cuts the left (200*100) corner of the bitmap, instead of resize it.

    the short code:

    void CCameraCaptureEngine::ImageReady(CFbsBitmap* aBitmap,HBufC8* /*aData*/,TInt aError)
    {
    aBitmap->Resize(TSize(200,100));
    ...
    }


    Please help, if You have any idea!
    Peter

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

    Re: resize a CfbsBitmap problem

    the resize function does excatly that, it resizes the image, but it is not doing any modifications to the data. For scaling images, have a look into the SDK documentations of CMdaBitmapScaler.

    yucca

  3. #3
    Registered User
    Join Date
    Aug 2006
    Posts
    46

    Re: resize a CfbsBitmap problem

    I have different problem
    when i call to CFbsBitmap::Resize function it does not return.
    The whole application just stuck.
    im using S60_3rd_MR sdk for code warior.
    anyone knows what is the problem?
    Thanks.

Similar Threads

  1. J2ME: Problem in Nokia Solution for a software problem
    By mte01 in forum Mobile Java Tools & SDKs
    Replies: 4
    Last Post: 2011-06-08, 05:52
  2. problem when stop playing video on 3650 and try to play again
    By niko86 in forum Mobile Java General
    Replies: 5
    Last Post: 2007-08-03, 07:40
  3. Problem with eglSwapBuffers and heap corruption
    By greatape in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2007-05-24, 03:35
  4. J2ME: Problem in Nokia Solution for a media problem
    By mte01 in forum Mobile Java Tools & SDKs
    Replies: 0
    Last Post: 2005-08-12, 11:30
  5. Problem: S60 SDK for CW in PC with .NET
    By anttij in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 1
    Last Post: 2005-02-28, 11:36

Posting Permissions

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