Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > J2ME: How to display a sprite with a transparent background?

Thread Tools

J2ME: How to display a sprite with a transparent background?

Lasse Laegteskov
Posts: n/a
I have read that MIDP 1.0 doesn't support transparency in PNG's files unless
the mobile company have included a support for it.

So I would like to know how I can draw an image (sprite) with a backcolor of
e.g. white only showing the sprite and not the background colour.

Is there a way to control an image pixel making the transperancy turn on and

Please include a little bit of code.



Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
The Sprite commercial from Germany Meat Plow Computer Support 11 10-28-2010 06:27 PM
Transparent OLED Display Lawrence D'Oliveiro NZ Computing 4 01-10-2010 08:13 PM
ANN: Mac OS X versions of Rabbyt 0.81 - A fast 2D sprite engine usingOpenGL Python Nutter Python 0 07-10-2008 07:26 AM
How can i display a bitmap transparent C++ 1 07-24-2006 04:07 PM
sprite & image - j2me Jeff Java 0 03-30-2006 09:37 AM