×
Namespaces

Variants
Actions
Revision as of 06:54, 19 June 2012 by hamishwillee (Talk | contribs)

Archived:GIF transparency does not work correctly on Series 40 3rd Edition devices (Known Issue)

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngArchived: 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)
Series 40 3rd Edition (initial release)
MIDP 2.0
MIDP 1.0
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.

36 page views in the last 30 days.
×