×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Regular Contributor
    Join Date
    Sep 2006
    Posts
    54

    can we update the part of image held by CFbsBitmap

    can we update the part of image held by CFbsBitmap??
    i hav image held by CFbsBitmap, i want to update some rectangle part of it,
    is there any API or way to do it?

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

    Re: can we update the part of image held by CFbsBitmap

    you could try out with CBitmapContext.

  3. #3
    Super Contributor
    Join Date
    Jul 2007
    Location
    Beijing, China
    Posts
    538

    Re: can we update the part of image held by CFbsBitmap

    Quote Originally Posted by vinaykk View Post
    can we update the part of image held by CFbsBitmap??
    i hav image held by CFbsBitmap, i want to update some rectangle part of it,
    is there any API or way to do it?
    Create a new CFbsBitmap and draw both invariable part of old bitmap and updated part onto it.

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

    Re: can we update the part of image held by CFbsBitmap

    you dont need to make a new one, you can use the exiting one and draw directly to it, basically you could copy-paste the construction part from wiki example: http://wiki.forum.nokia.com/index.ph...lication_panic

    Instead of making a newBitmap , just use your old one. and instead of bgc->DrawBitmap(), use functions provided by the CBitmapContext to update parts of the original bitmap.

  5. #5
    Regular Contributor
    Join Date
    Sep 2006
    Posts
    54

    Re: can we update the part of image held by CFbsBitmap

    Hi jack/yucca thanks for reply,
    yucca can u please tell in detail how can i update part of CFbsBitmap using CBitmapContext.
    just how to create context and draw on existing one?

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

    Re: can we update the part of image held by CFbsBitmap

    Check the example, with it you can get the CBitmapContext for a CFbsBitmap, then just use the functions of the CBitmapContext and see what happens..

  7. #7
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,737

    Re: can we update the part of image held by CFbsBitmap


  8. #8
    Regular Contributor
    Join Date
    Sep 2006
    Posts
    54

    Re: can we update the part of image held by CFbsBitmap

    Hi Folks,

    im able to update the part of image.
    thanks yucca n all.

Similar Threads

  1. CImageDecoder or CFbsBitmap perform padding?
    By NevenS in forum Symbian Media (Closed)
    Replies: 4
    Last Post: 2009-03-30, 09:42
  2. Opening a JPEG Image
    By ummarbhutta in forum Mobile Java Media (Graphics & Sounds)
    Replies: 8
    Last Post: 2007-02-15, 06:34
  3. Series 40 - draw only a part of the image
    By ionutianasi in forum Mobile Java Media (Graphics & Sounds)
    Replies: 11
    Last Post: 2003-09-08, 04:25
  4. Series 40 - image resizeing and drawing black and white only a part of an image
    By ionutianasi in forum Mobile Java Media (Graphics & Sounds)
    Replies: 3
    Last Post: 2003-07-21, 10:36
  5. Copy only a part of an image
    By FatalError in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2003-05-11, 07:51

Posting Permissions

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