You Are Here:

Community: Developer Discussion Boards

#1 Old [ATTENSION NOKIA] 7610 Image.createRGBImage() problems - 2006-02-04, 17:04

Join Date: Dec 2005
Posts: 10
zubs20
Offline
Registered User
I am having problems with image processing. I am taking an image from the camera using getSnapshot() then i obtain the pixels values and apply a simple threshold (this is not the problem) ... then i create an Image by

Image.createRGBImage(rgbData,img.getWidth(), img.getHeight(),true);

.. The code works perfectly on the correct emulator for the 7610 phone. But makes the phone unresponsive when i make it run on the phone. Anyone know whats going on?

Thanks
Last edited by zubs20 : 2006-02-05 at 13:40.
Reply With Quote

#2 Old Re: 7610 Image.createRGBImage() problems - 2006-02-05, 15:50

Join Date: Dec 2005
Posts: 10
zubs20
Offline
Registered User
Ok, I have found out that phone hangs when it you pass true in the Image.createRGBImage(rgbData, w, h, true), the last boolean parameter turns on processAlpha. When i set it to false the phone no longer crashes and the code works perfectly.

Therefore if you dont need to consider the alpha channel, set the value in that method to false. The Alpha values will be treated as opaque.

Hope this helps.
Reply With Quote

#3 Old Re: 7610 Image.createRGBImage() problems - 2006-11-01, 14:54

Join Date: Oct 2006
Posts: 7
alexboy
Offline
Registered User
Do you mind to send the code for me to try?
or post here
Reply With Quote

#4 Old Re: [ATTENSION NOKIA] 7610 Image.createRGBImage() problems - 2006-11-28, 09:18

Join Date: Aug 2005
Posts: 192
ed_welch
Offline
Regular Contributor
There is a bug in S60 devices. If you call createRGBImage with more than 4096 byte and alpha = true it crashes the phone
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Forum Jump
Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems installing stuff on my 7610 phone gentzy General Browsing 0 2005-11-24 19:31
problems in running my appliccation on Nokia 6600,6710 & 7610 fantomika Mobile Java General 2 2005-09-06 08:46
Retrieve IMSI on 7610 problems degree1911 General Symbian C++ 4 2005-06-08 01:17
7610 TextField Problems fotis.chatzinikos Mobile Java General 0 2005-02-22 15:19
Font problems on Nokia 7610 rlang@onetel.net.uk General Symbian C++ 0 2004-06-17 11:27

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia