Camera Aspect Ratio

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I'm developing some software on a series of devices including an O2
XDA Exec, Palm Treo 750 and an HP iPaq hw6915. All of these devices
have a built in camera with different resolutions.
My question is are there any APIs (with examples) that let you query
the resolution of the camera? I've seen reference to Microsoft Windows
Image Aquisition (WIA) constants but cannot find any example code that
uses these.
Alternatively if I knew that the aspect ratio of all WM 5.0 mobile
device camera's is always fixed at 1.3333 then this would also help
e.g. 640x480 yields 1.3333, 1280x1024 yields 1.3333 etc. but I suppose
this is purely down to the hardware chosen by the manufacturer or is
it defined anywhere by Microsoft?

.



Relevant Pages

  • WM 5.0 DirectShow - How to set best image quality?
    ... I RenderStream using PIN_CATEGORY_STILL and trigger the STILL Pin using ... modes..and I can capture images in these two modes....240x320 and ... the device supports resolutions upto 1280x1024 (using OEM's ... Camera application) ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: Creative NX Webcam
    ... Camera found: Creative NX ... Bridge found: ZC301-2 ... Available Resolutions width 352 heigth 288 decoded ...
    (alt.os.linux.suse)
  • Re: Creative NX Webcam
    ... Camera found: Creative NX ... Bridge found: ZC301-2 ... Available Resolutions width 352 heigth 288 decoded ...
    (alt.os.linux.suse)
  • Re: Digital cameras: Maybe OT
    ... Digital cameras are great, but more important in this discussion is how ... Will you use the camera most in the daytime or at night? ... Multi-megapixel resolutions require more space to store, ... or one that will allow real macro photography. ...
    (comp.sys.mac.apps)