Archived:GIF transparency does not work correctly on Series 40 3rd Edition devices (Known Issue)
Archived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.
Article Metadata
Compatibility
Platform(s): Series 40 3rd Edition (initial release)
Article
Created: User:Technical writer 1
(25 Jun 2007)
Last edited: hamishwillee
(19 Jun 2012)
Description
When drawing GIF images with transparency on canvas using the Image.createImage() method, the transparent pixels become opaque. This results in corrupted graphics.
How to reproduce
Load the picture using the following method:
image=Image.createImage("/example.gif");
Then apply the image to the canvas using the drawImage() method.
Solution
Use PNG images instead of GIFs. The problem does not occur with images in PNG format.

