×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Oct 2005
    Posts
    15

    Angry Blurred Image / bad quality on N73 & N95

    Hi all,
    I'm trying to take snapshots using MMAPI (JSR 135) on my nokia N95.
    I'm using the following code, which seems pretty standard.

    Code:
    mPlayer = Manager.createPlayer("capture://video");
    				mPlayer.realize();
    				mVideoControl = (VideoControl) mPlayer.getControl("VideoControl");
    
    Item item = (Item)mVideoControl.initDisplayMode(GUIControl.USE_GUI_PRIMITIVE, null);
    				item.setLayout(Item.LAYOUT_EXPAND|Item.LAYOUT_VEXPAND);			
    				cameraForm.append(item);
    				mPlayer.start();	
    byte snapshot[]=mVideoControl.getSnapshot("encoding=png&width=800&height=600");
    The quality of the resulting image is very poor. It's blurry and very noisy. When i use the camera application of the phone I'm getting much better results.
    I've tried using jpeg format and larger resolution ( 1024x768) but the result is always the same, very bad image quality ( see sample snapshot!

    I tried my midlet on an N73 and got the same results.
    Is there a trick to get better results ? Camera settings ? ( unfortunately, the CamerControl is not supported on the N95, which is a real shame for such a pricy and high end model ! )


    Thanks for your help.
    Regards.

  2. #2
    Registered User
    Join Date
    Mar 2007
    Posts
    53

    Re: Blurred Image / bad quality on N73 & N95

    How about using:
    "encoding=jpeg&width=800&height=600";
    Any difference?

  3. #3
    Registered User
    Join Date
    May 2008
    Posts
    6

    Re: Blurred Image / bad quality on N73 & N95

    Solution???

    i have your problem!

    Quote Originally Posted by ceruault View Post
    Hi all,
    I'm trying to take snapshots using MMAPI (JSR 135) on my nokia N95.
    I'm using the following code, which seems pretty standard.

    Code:
    mPlayer = Manager.createPlayer("capture://video");
    				mPlayer.realize();
    				mVideoControl = (VideoControl) mPlayer.getControl("VideoControl");
    
    Item item = (Item)mVideoControl.initDisplayMode(GUIControl.USE_GUI_PRIMITIVE, null);
    				item.setLayout(Item.LAYOUT_EXPAND|Item.LAYOUT_VEXPAND);			
    				cameraForm.append(item);
    				mPlayer.start();	
    byte snapshot[]=mVideoControl.getSnapshot("encoding=png&width=800&height=600");
    The quality of the resulting image is very poor. It's blurry and very noisy. When i use the camera application of the phone I'm getting much better results.
    I've tried using jpeg format and larger resolution ( 1024x768) but the result is always the same, very bad image quality ( see sample snapshot!

    I tried my midlet on an N73 and got the same results.
    Is there a trick to get better results ? Camera settings ? ( unfortunately, the CamerControl is not supported on the N95, which is a real shame for such a pricy and high end model ! )


    Thanks for your help.
    Regards.

  4. #4
    Registered User
    Join Date
    Mar 2003
    Posts
    23

    Re: Blurred Image / bad quality on N73 & N95

    try reducing the resolution 640x480. That is the resolution I am using on N72 7 N73 and gives reasonably good images. However images taken by the default camera app are always more clearer. I think quality of the images depends on the way the Java APIs are implemented on the handset.

Similar Threads

  1. Opening a JPEG Image
    By ummarbhutta in forum Mobile Java Media (Graphics & Sounds)
    Replies: 8
    Last Post: 2007-02-15, 06:34
  2. how to cut some part of Image
    By mshouab in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2006-08-04, 09:05
  3. Camera Image Quality
    By ronald29 in forum Symbian Media (Closed)
    Replies: 7
    Last Post: 2006-07-21, 10:43
  4. Low image Quality - CCamera
    By eshlomi in forum Symbian C++
    Replies: 0
    Last Post: 2005-12-11, 10:39
  5. Nokia Image Converter
    By davidpurdie in forum General Development Questions
    Replies: 0
    Last Post: 2004-02-18, 15:31

Posting Permissions

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