×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    14

    Question Image interpolation in mobile

    Hello...
    Image interpolation means increasing the number of pixels in an image. Is there any API exists in symbian for increasing the number of pixels in an image(increasing resolution of a picture)?

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,674

    Re: Image interpolation in mobile

    Depending on what you want to achieve, a simple DrawBitmap(targetrectangle,bitmap [,sourcerectangle]) may already do that.

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

    Re: Image interpolation in mobile

    AFAIK, there is no API for this, at least not in the public SDKs.


    (Got this same time with Wiz, and ok, Image scaling APIs could actually do that....)

  4. #4
    Registered User
    Join Date
    Mar 2009
    Posts
    14

    Re: Image interpolation in mobile

    Hello... Thanks for the information. If such APIs are not available in symbian for doing interpolation, can we create our own API for that? If that is possible, then hw to start with that? Actually I m having only basic knowledge about symbian. Just started now... Please give a solution

  5. #5
    Registered User
    Join Date
    Mar 2009
    Posts
    14

    Re: Image interpolation in mobile

    Hello... I think DrawBitmap will not increase the number of pixels in an image. If there is no such API for increasing the resolution of the image, can we create our own API for that?

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

    Re: Image interpolation in mobile

    Actually, Wiz gave nice idea, basically just make a bigger image and use CFbsBitGc to draw the original image larger into it.. Dunno if it actually does nything nice, but at least you end up with picture that has bigger size..

    One wiki page that is using the CFbsBitGc would be this one: http://wiki.forum.nokia.com/index.ph...uble_buffering

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

    Re: Image interpolation in mobile

    There is a CBitmapScaler after all, you can check if it provides better quality than DrawBitmap.

Similar Threads

  1. channel for going to market
    By matrix241 in forum News and Announcements
    Replies: 12
    Last Post: 2008-04-05, 17:42
  2. image in res need to be saved on mobile
    By raghda in forum Mobile Java General
    Replies: 15
    Last Post: 2008-04-02, 11:57
  3. Replies: 11
    Last Post: 2007-10-03, 19:46

Posting Permissions

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