×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Regular Contributor
    Join Date
    Aug 2009
    Posts
    85

    Changing resolution for CCamera

    Good morning.

    I have successfully implemented the example here which snaps a picture and saves it to a buffer.

    On the E52 (FP2) it takes a picture of about 200kB which is equivalent to a 2MP picture. However the phone itself is capable of up to 3MP, and pictures taken using the normal camera application are 3MP pictures (~600kB)

    I would like to know how I can change the resolution of the camera with reference to this example?

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: Changing resolution for CCamera

    The file size does not really correspond to the resolution, it is more about the JPG image quality.

  3. #3
    Regular Contributor
    Join Date
    Aug 2009
    Posts
    85

    Re: Changing resolution for CCamera

    Quote Originally Posted by symbianyucca View Post
    The file size does not really correspond to the resolution, it is more about the JPG image quality.
    it does.
    ok ignoring the file sizes, the images i took using my own implementation of CCamera are 1024x768
    The device's own camera application takes 3MP pictures at 2048x1536, and 2MP at 1600x1200.

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,165

    Re: Changing resolution for CCamera

    you could check the CCamera::EnumerateCaptureSizes() to see what resolution can be used. here's one link where it has been used in: http://developer.sonyericsson.com/co.../docs/DOC-3308

  5. #5
    Nokia Developer Expert
    Join Date
    Dec 2003
    Posts
    148

    Re: Changing resolution for CCamera

    Try setting the UI to landscape before you call CCamera::New2L. In most devices the camera sensor is placed in such orientation that full resolution can not be utilized when UI is in portrait.
    janza

Similar Threads

  1. Stop Switching from Portrait to Landscape mode
    By Ashish Gupta in forum Mobile Java Media (Graphics & Sounds)
    Replies: 5
    Last Post: 2009-06-30, 10:04
  2. Java Games Screen Resolution
    By edwin756 in forum Mobile Java Games
    Replies: 4
    Last Post: 2008-10-31, 06:29
  3. Changing Camera Resolution
    By aml_1989 in forum Symbian Media (Closed)
    Replies: 4
    Last Post: 2008-06-24, 08:26
  4. changing video resolution
    By domdare in forum Streaming and Video
    Replies: 3
    Last Post: 2008-02-15, 10:09
  5. Changing ringtones by changing profile programatically
    By daredevilWin in forum Symbian Media (Closed)
    Replies: 0
    Last Post: 2005-05-24, 07:59

Posting Permissions

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