Change camera resolution?

  • Thread starter Thread starter cyberco
  • Start date Start date
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
 
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/
 
Back
Top