×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Dec 2005
    Posts
    4

    Can't 6230i handle 8bitPNG-Transparency?

    Hi,
    does somebody know if the Nokia 6230i can or can not handle 8Bit PNGs (indexed) with transparency?

    We made a game with a lot of pngs with transparency, on 6230 it works fine but on 6230i there is no transparency it is black :-(

    Can someone help?

    TIA,
    Markus Daniel
    Synyx, Karlsruhe

  2. #2
    Regular Contributor
    Join Date
    Jan 2005
    Location
    France, Paris
    Posts
    56

    Re: Can't 6230i handle 8bitPNG-Transparency?

    I have a 6230i, I don't know how to check the number of bits in my pngs (at least it's indexed, with very few colors ^^), but the transparency works fine with me.
    I can just give you some hints about what I do :/ I think I got this problem on other phones... hope it will help...

    I don't make a game, just using a Canvas (not the GameCanvas), no fullscreen, I don't combine images (for example, drawing one above another etc...). Also I always use the Graphics object given in the Canvas.paint method (I don't try to keep it in an attribute member, to use it later). If I draw my image on a buffer image, I just call this image getGraphics once and keep it somewhere (since the getGraphics may create a different Graphics object...).

  3. #3
    Registered User
    Join Date
    Dec 2005
    Posts
    4

    Re: Can't 6230i handle 8bitPNG-Transparency?

    thanks for the quick reply
    I will try this...hopefully ;-)

  4. #4
    Registered User
    Join Date
    Dec 2005
    Posts
    4

    Re: Can't 6230i handle 8bitPNG-Transparency?

    We have the solutions...
    it seem to be a bug in the Firmware of Nokia 6230i.
    If you have a few icons in one png and you try to cut it like this:
    icon = Image.createImage(icons, boxesWidth, 0, boxesWidth,
    boxesHeight, Sprite.TRANS_NONE);

    The icon will not be displayd correct, if we load the icons as few pngs it works fine.

    Regards,
    Markus Daniel
    Synyx, Karlsruhe

Similar Threads

  1. 6230i in the future???
    By jailboy in forum General Development Questions
    Replies: 5
    Last Post: 2006-06-01, 05:11
  2. 6230i SDK
    By jvohome in forum Mobile Java General
    Replies: 7
    Last Post: 2005-12-18, 11:19
  3. perfect 6230i with stupid bugs / missing features
    By madn3ss in forum General Development Questions
    Replies: 1
    Last Post: 2005-07-10, 09:54
  4. How can Nokia handle transparency in J2ME?
    By petertai in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2003-10-23, 13:05
  5. drawPixels transparency bug on new Series 60 beta 0.2
    By marcilgen in forum Mobile Java General
    Replies: 0
    Last Post: 2003-03-26, 21:41

Posting Permissions

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