×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jan 2013
    Posts
    4

    Question How to add an image png format using CWindowDrawer

    Hello ,

    I am using the code from the following site to add a global rectangle into my application using CWindowDrawer
    http://wuxinwei1023.blog.163.com/blo...1101110925664/

    What i can get from the site is to display some images into my draw if it is static and from an mbm file( i already did that by creating an mbm file and display the pictures)
    My problem is that i want to display dynamic images that i get from the server (type .png) into my rectangle that i created it .

    So how to display png image files with CWindowDrawer?
    Can anyone help me with my problem?

    Thank you

  2. #2
    Nokia Developer Champion
    Join Date
    Jun 2008
    Location
    Noida,India
    Posts
    3,988

    Re: How to add an image png format using CWindowDrawer

    You can utilize the CImageDecoder class to covert the received png data into a drawable bitmap & use CBitmapScaler class for converting it into a desirable size.An example depicting the usage of both API's is here :

    http://www.developer.nokia.com/Commu...on_and_Scaling

  3. #3
    Registered User
    Join Date
    Jan 2013
    Posts
    4

    Re: How to add an image png format using CWindowDrawer

    Quote Originally Posted by vineet.jain View Post
    You can utilize the CImageDecoder class to covert the received png data into a drawable bitmap & use CBitmapScaler class for converting it into a desirable size.An example depicting the usage of both API's is here :

    http://www.developer.nokia.com/Commu...on_and_Scaling

    Thank you a lot vineet.jain

Similar Threads

  1. SVG image format
    By heuven in forum Symbian User Interface
    Replies: 4
    Last Post: 2008-12-07, 21:54
  2. CWindowDrawer
    By junmobus in forum Symbian User Interface
    Replies: 1
    Last Post: 2007-06-30, 19:42
  3. Is there any other image format supported by Symbian besides BMP format?
    By hz_chenpeng in forum Symbian Media (Closed)
    Replies: 5
    Last Post: 2007-03-06, 09:04
  4. About the JPG and BMP format image.
    By kangtk in forum Symbian
    Replies: 1
    Last Post: 2003-02-10, 10:44

Posting Permissions

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