| Reply | « Previous Thread | Next Thread » |
|
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.
|
|
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. |
|
Do you mind to send the code for me to try?
or post here |
|
There is a bug in S60 devices. If you call createRGBImage with more than 4096 byte and alpha = true it crashes the phone
|
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| 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 |