×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    28

    Image Size for Capture Images

    Hi,
    I'm using CCamera and PrepareImageCaptureL() for getting snapshots. My Problem is that I want to change the size of the image to capture. I DON'T want to change the size afterwards with resizing the image. PrepareImageCaptureL() offers the abbility to adjust the size but only in fixed steps. I'm working on a Nokia 6630 and the possible image size are 160x120, 640x480, and some larger sizes. Because of performance reasons I want something between, let's say 320x240. Is it possible and how to do that?!
    Thanks in advance,
    Tobias

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

    Re: Image Size for Capture Images

    You can only capture images in the predefined sizes that you get by calling EnumerateCaptureSizes(). If you need something else you need to scale the image. In your case this should not be a big preformance issue, since you want quarter VGA image and VGA is one of the supported image sizes. You just need a fast 1/4 downscaler which should not be too hard to write. Of course you can also use standard Symbian image scaler, but that migh not be as fast as you would want it to be...
    janza

  3. #3
    Registered User
    Join Date
    Jun 2006
    Posts
    28

    Re: Image Size for Capture Images

    Hi,
    that the facts I've expected. But thank you! I will downscale it manually.
    Cheers Tobias

    Quote Originally Posted by janza
    You can only capture images in the predefined sizes that you get by calling EnumerateCaptureSizes(). If you need something else you need to scale the image. In your case this should not be a big preformance issue, since you want quarter VGA image and VGA is one of the supported image sizes. You just need a fast 1/4 downscaler which should not be too hard to write. Of course you can also use standard Symbian image scaler, but that migh not be as fast as you would want it to be...

Similar Threads

  1. 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
  2. Audio Input Stream on N80
    By tkaihock in forum Symbian Media (Closed)
    Replies: 9
    Last Post: 2006-06-30, 09:15
  3. Replies: 1
    Last Post: 2005-10-24, 09:57
  4. About the Image size
    By spartchou in forum Mobile Java General
    Replies: 2
    Last Post: 2005-08-01, 14:35
  5. Managing PNG image Size
    By ramka001 in forum Mobile Java General
    Replies: 2
    Last Post: 2003-05-21, 17:54

Posting Permissions

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