×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Aug 2009
    Posts
    38

    How to RESIZE IMAGE

    hi symbian developers ,
    This is narendra i am working on images placing on containers and i want a code how tdingo resize a image depending on pixsels
    ihad return code like this:

    ihave taken a bit image pointer iBitmap1

    iBitmap1->Resize(TSize(weight,height));

    gc.Bitblt(TPoint(30,150),iBitmap1);

    i had given the code like this but it is not resizing the image it is editing the image display specific position image not displaying full image
    M.Narendra
    narendra.ajel@gmail.com

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,572

    Re: How to RESIZE IMAGE

    You probably want to scale the bitmap, not just resize. Check CBitmapScaler in the SDK Help, you may also find examples in the Wiki and/or the Docs section above.

  3. #3
    Registered User
    Join Date
    Aug 2009
    Posts
    38

    Re: How to RESIZE IMAGE

    Quote Originally Posted by wizard_hu_ View Post
    You probably want to scale the bitmap, not just resize. Check CBitmapScaler in the SDK Help, you may also find examples in the Wiki and/or the Docs section above.
    thank u wizard_hu_ now its works thanks for your help
    M.Narendra
    narendra.ajel@gmail.com

Similar Threads

  1. PNG Image Resize
    By ashwin.nath.m in forum Mobile Java General
    Replies: 2
    Last Post: 2009-07-10, 10:11
  2. Image Resize. What´s wrong?
    By ricardopcunha in forum Mobile Java General
    Replies: 3
    Last Post: 2009-02-27, 16:25
  3. Opening a JPEG Image
    By ummarbhutta in forum Mobile Java Media (Graphics & Sounds)
    Replies: 8
    Last Post: 2007-02-15, 06:34
  4. how to cut some part of Image
    By mshouab in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2006-08-04, 09:05
  5. Nokia Image Converter
    By davidpurdie in forum General Development Questions
    Replies: 0
    Last Post: 2004-02-18, 15:31

Posting Permissions

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