Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 12:50, 29 August 2007.

KIJ000598 - CreateRGBImage() does not work properly on Nokia 7610

From Forum Nokia Wiki


CreateRGBImage() does not work properly on Nokia 7610
KIJ000598
Overview
If you call the createRGBImage method with more than 4096 bytes and alpha = true on the Nokia 7610, the phone crashes.
Reported against
S60 2nd Edition, FP1
Nokia 7610
Category
Java
Subcategory
 MMAPI
Date identified
March 8, 2007
Symptoms
-
Detailed description
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.  
How to reproduce
-
Solution
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.
Related Discussions
Thread Thread Starter Forum Replies Last Post
beep played during call recording freshoutbox General Symbian C++ 2 2007-02-17 20:51
7610 cannot receive Wap Push sticklebrick Smart Messaging 0 2005-01-06 15:19
J2ME HTTP error trying to post from 7610-- SymbianOS error -18 louiethenose Mobile Java Networking & Messaging & Security 2 2007-12-04 21:00
Upload file to Noka 7610 from PC daniel_gustafsson PC Suite API and PC Connectivity SDK 3 2005-02-12 16:26
Downloading images from 7610 yoda2001 PC Suite API and PC Connectivity SDK 0 2005-01-03 12:23
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZKnowledgeBaseContentQ
     qfnZtypeQUqfnTypeZKnownIssueQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX