SHCameraCapture preview image. How does it work? RRS feed

  • Question

  • Hello

    I have looked at the SHCameraCapture example code provided with the SDK. I can't figure out how the preview ends up on the screen.

    When I examine SHCameraCapture all it provides is the path to the allready captured image. But how is SHCameraCapture able to display previews?

    Also I would like to ask if there is some way to intercept SHCameraCapture (or some other capturing mechanism like DDraw) before it renders the file? I would like to be able to do some image processing on the fly both on the preview and before saving the file.

    Is that possible at all? If not, is it possible to grab previews or raw (rgba) data before it is handled by the OS? Does the SDK provide any of those possibilites?

    I have developed a camera application using 3rd party, OEM libraries that works fine but I really would prefer to develop a one shot application that will work for all devices.

    Many thanks,

    Martin Malek
    Friday, December 1, 2006 1:02 PM