Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

Archived:CreateRGBImage() does not work properly on Nokia 7610 (Known Issue)

From 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
Tested with
Devices(s): Nokia 7610
S60 2nd Edition FP1
Created: User:Technical writer 1 (08 Mar 2007)
Last edited: hamishwillee (15 Aug 2013)


If you call the createRGBImage() method with more than 4096 bytes and alpha = true on the Nokia 7610, the phone crashes.


If you take a picture with the camera using the getSnapshot() method and create an Image with Image.createRGBImage(rgbData, img.getWidth(),img.getHeight(), true); the phone hangs when you pass true in Image.createRGBImage(rgbData, w,h,true). The last Boolean parameter turns on processAlpha. If you set it to false, the phone no longer crashes and the code works perfectly.


If you do not need to consider the alpha channel, set the value in that method to false. The alpha values will be treated as opaque.

This page was last modified on 15 August 2013, at 10:19.
111 page views in the last 30 days.