I use this--(image = DirectUtils.createImage(10, 10, 0x00ffffff)get translate picture ,but new picture have a grounding of white.
million thanks
I use this--(image = DirectUtils.createImage(10, 10, 0x00ffffff)get translate picture ,but new picture have a grounding of white.
million thanks
If it's a Series 60 device you're testing it on (and judging by your username you are), then the transparency is broken on those devices. On Series 30 and 40 it works fine.
shmoove
I have no idea, what's wrong in this code.
_IMGCOVER = DirectUtils.createImage(130, 47, 0x00000000);
Graphics g = _IMGCOVER.getGraphics();
g.drawImage(midlet._oIMAGE, -20, 0, 20);
The image "_oIMAGE" background is transparence.
The image "_IMGCOVER" have grounding of white.
I need use "createImage(width, height)" create a transparence picture.
help!
Like I said, this is a bug on Series 60 devices. If you try out your code on a Series 40 device you'll find it works OK.
shmoove
thank you every much
i think that i only use "setclip()" fuction to evolution my question