|
|
Pages: [1]
|
 |
|
Author
|
How to draw image GIF use canvas in j2me (Read 184 times)
|
huuanh1987
New user

Posts: 5
|
hi all !!! who can help me, How to draw image GIF use canvas in j2me ? thank all !!!
|
|
|
|
|
Logged
|
|
|
|
mr_lou
J2me god
    
Posts: 1340

|
Most newer phones can display a GIF file using Image.createImage(). Some devices ignores transparency though.
If possible, you should convert your GIF to PNG instead, using PNGOut or OptiPNG or similar.
|
|
|
|
|
Logged
|
|
|
|
mr_lou
J2me god
    
Posts: 1340

|
That code will show the gif file fine on a newer Sony Ericsson device.
But if you want to make sure your code works on most devices, simply convert your GIF to PNG.
|
|
|
|
|
Logged
|
|
|
|
|
Pages: [1]
|
|
|
|
|