×
Namespaces

Variants
Actions

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
CompatibilityArticle
Created: User:Technical writer 1 (25 Jun 2007)
Last edited: hamishwillee (16 Aug 2013)

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.

This page was last modified on 16 August 2013, at 06:40.
52 page views in the last 30 days.
×