Change camera resolution?

C

cyberco

Using a CameraCaptureDialog for taking pictures I want to set the
resolution in my code, but none of the directives gets picked up. It
always uses the camera's default. I've tried both:

======================================
cameraCaptureDialog.Resolution = new Size(1600,1200); //is supported
cameraCaptureDialog.StillQuality = CameraCaptureStillQuality.High;
======================================

The only way to change the resolution is to start the camera by hand,
change the preferences. The new settings will then be used by my
handwritten code.

I'm using:
WM5 + CF2.0
HTC TyTN
 
C

Chris Craft

Not really a direct answer to your question, but it might help.

Have you considered finding another sample application, maybe one with
source code, and trying it to confirm functionality and coding method? It
might be something simple.

Windows Mobile Version 5.0 SDK Camera
http://msdn2.microsoft.com/en-us/library/ms880615.aspx

Windows Mobile Version 5.0 SDK Camera Capture Graph
http://msdn2.microsoft.com/en-us/library/ms880617.aspx

hope that helps some,
Chris Craft
http://www.cjcraft.com/blog/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top