| Reply | « Previous Thread | Next Thread » |
|
hi,
i want capture the photo of size 84*106 pixel from front camera of n73. and also is this possible to select only 84*106 pixels while capturing image??? Can anyone help me???? |
| shashikantkalaskar |
| View Public Profile |
| Find all posts by shashikantkalaskar |
|
Did you already see on the mobile phone guide???
Generally it come with funtions of the mobile... I hope to have helped you... Best regards... |
| valderind4 |
| View Public Profile |
| Find all posts by valderind4 |
|
How to learn supported image types?
Code:
System.out.println(System.getProperty("video.snapshot.encodings"));
Getting a jpeg image
byte[] imageData = videoControl.getSnapshot("encoding=jpeg"); //160x120
byte[] imageData = videoControl.getSnapshot("encoding=jpeg width="200" height="150");
Getting a png image
byte[] imageData = videoControl.getSnapshot("encoding=png"); //160x120
Code:
player = Manager.createPlayer("capture://devcam1");
http://wiki.forum.nokia.com/index.ph...ure_in_Java_ME thanks, jitu_goldie.. KEEP TRYING.. |
| jitu_goldie |
| View Public Profile |
| Find all posts by jitu_goldie |
|
In case of png encoding how to adjust size of image..
|
| shashikantkalaskar |
| View Public Profile |
| Find all posts by shashikantkalaskar |
|
use this function to check the format supported by the device
System.getProperty("video.snapshot.encodings"); If png is supported by the device then byte[] imageData = videoControl.getSnapshot("encoding=png width="200" height="150"); thanks, jitu_goldie.. KEEP TRYING.. |
| jitu_goldie |
| View Public Profile |
| Find all posts by jitu_goldie |
|
hi,
i tried as jitu_goldie suggested but i am getting media error saying that Usupported error : encoding=png width=200 height=150 i am given input as below: videoControl.getSnapshot("encoding=png width=200 height=150"); |
| shashikantkalaskar |
| View Public Profile |
| Find all posts by shashikantkalaskar |
|
Hi,
Check that the exception is also coming when u put jpeg image format in place of png. Let me know. Thanks Osam |
|
Quote:
Code:
System.getProperty("video.snapshot.encodings");
check and reply. thanks, jitu_goldie.. KEEP TRYING.. |
| jitu_goldie |
| View Public Profile |
| Find all posts by jitu_goldie |
|
yes i have check encodings it supports to png.
it works fine without giving width and height. |
| shashikantkalaskar |
| View Public Profile |
| Find all posts by shashikantkalaskar |
|
what height and width are u passing. which device are u taken for testing?
thanks, jitu_goldie.. KEEP TRYING.. |
| jitu_goldie |
| View Public Profile |
| Find all posts by jitu_goldie |
|
i have passed width 90 and height 100 and also different combitions.
Device i am using is n73. |
| shashikantkalaskar |
| View Public Profile |
| Find all posts by shashikantkalaskar |
|
implement this..
videoControl.getSnapshot("encoding=png&width=80&height=60"); Sorry forgot to tell u to separate the parameters by "&". try out this and reply Also Please checkout the following link.. http://www.forum.nokia.com/document/...D8F1EE772.html IMPORTANT TOPIC THERE : Camera Snapshot Image Types: Hope this makes sense to you.. thanks, jitu_goldie.. KEEP TRYING.. |
| jitu_goldie |
| View Public Profile |
| Find all posts by jitu_goldie |
|
Thanks ..... it executes successfully......
|
| shashikantkalaskar |
| View Public Profile |
| Find all posts by shashikantkalaskar |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Fast Image Capture | Tobias_80 | Symbian Media (Graphics & Sounds) | 9 | 2007-06-18 13:29 |
| How to capture QVGA size bitmap image (CBitmapScaler::Scale() too slow) | i-masa | Symbian Media (Graphics & Sounds) | 1 | 2005-10-24 10:57 |
| How to reduce image size | etamburini | Mobile Java General | 1 | 2004-06-15 00:26 |
| encoding of image size on mms header | pautamo | General Messaging | 1 | 2002-08-15 12:55 |
| Largest Image size | e4bdevelop | General Messaging | 1 | 2002-08-02 10:13 |