×

Discussion Board

Results 1 to 3 of 3

Hybrid View

  1. #1
    Registered User
    Join Date
    Apr 2005
    Posts
    2

    masking png image

    This is my first widget with a PNG image. I am using a round_clock.png in my widget but I don't know how to mask the remaining white portion which gets displayed when the widget is launched on emulator/phone.

    Thanks in advance

  2. #2
    Regular Contributor
    Join Date
    Jul 2004
    Posts
    52

    Re: masking png image

    You might need to use Canvas and draw images over each other to get wanted effect.

    /render

  3. #3
    Super Contributor
    Join Date
    Jul 2008
    Posts
    2,020

    Re: masking png image

    Use ICL to load the image (and the mask, or generate it dynamically)

    Then do like you would have a pair of CFbsBitmaps.
    The lines above are the best I have to offer.If anyone of you is of more advanced knowledge, I ask for your patience and understanding! - unknown arab poet
    http://www.tamoggemon.com - Symbian blog - Windows Phone blog
    My other blogs:
    webOS blog iPhone blog BlackBerry blog Samsung bada blog Android blog

Similar Threads

  1. How to convert a JPEG image to a PNG image using J2ME Code
    By hussain_afs in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2007-12-31, 16:48
  2. Opening a JPEG Image
    By ummarbhutta in forum Mobile Java Media (Graphics & Sounds)
    Replies: 8
    Last Post: 2007-02-15, 06:34
  3. 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
  4. Nokia Image Converter
    By davidpurdie in forum General Development Questions
    Replies: 0
    Last Post: 2004-02-18, 15:31
  5. PNG Image won't load
    By maaberge in forum Mobile Java General
    Replies: 1
    Last Post: 2003-11-16, 18:13

Posting Permissions

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