×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Dec 2007
    Posts
    30

    Unhappy A problem about CBitmapScaler

    Hello, Everybody~
    Now I encounter a problem, I use CBitmapScaler to change the width and height of the pictures to 3/4 of them. Pictures are put into right size, but they seem not so clear, and there are big areas in some pictures. Is it a normal phenomenon?

    My code are as follow
    Code:
    iScaler->Scale( &iStatus, *iFrameImg, tempSize );
    Thanks a lot and apologize for my poor english!!

  2. #2
    Registered User
    Join Date
    Mar 2006
    Location
    India
    Posts
    503

    Re: A problem about CBitmapScaler

    if ur icon is png.
    scale the bitmap and the mask to and return a CGulIcon.

    XXX::ScaleIconL(CGulIcon& aIcon, const TSize& aMaxSize)
    {

    Scale(*aIcon.Bitmap(), aMaxSize);
    Scale(*aIcon.Mask(), aMaxSize);

    }
    Regards
    Kamal :)
    ------------------
    You never expect what expects you.

  3. #3
    Registered User
    Join Date
    Dec 2007
    Posts
    30

    Re: A problem about CBitmapScaler

    Thank you for your reply. My pictures are loaded from the server,and most of them are in format of gif. I will try

Similar Threads

  1. Problem with eglSwapBuffers and heap corruption
    By greatape in forum Symbian Media (Closed)
    Replies: 2
    Last Post: 2007-05-24, 03:35
  2. netcards - Problem with opening adapter
    By kernj in forum Symbian Tools & SDKs
    Replies: 5
    Last Post: 2007-01-10, 08:56
  3. WAP service problem on Apache
    By bigg_o in forum Browsing and Mark-ups
    Replies: 3
    Last Post: 2005-04-17, 16:05
  4. 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
  5. wireless problem
    By sash_mca in forum Mobile Web Site Development
    Replies: 0
    Last Post: 2003-06-06, 11:34

Posting Permissions

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