How to rotate the camera viewer in Windows phone?

I use PhotoCamera option to take the snapshot. Once the Image capture is completed i set the VideoBrush to the Canvas in xaml. But the video viewer is actually rotated than the original... .I am not sure what might be the problem..

My code..

myCamera = new PhotoCamera(CameraType.Primary);

myCamera.CaptureImageAvailable += new EventHandler<ContentReadyEventArgs>(CameraCaptureImageAvailable);

VideoBrush videobrush = new VideoBrush();
videobrush.SetSource(myCamera);
canvasCameraView.Background = videobrush;

Can anyone help me ?

Answers


I found the solution that we can achieve through CompositeTransform...

http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202956(v=vs.105).aspx


Need Your Help

Using AJAX and python

javascript jquery ajax mongodb python-2.7

So I'm trying to use this web framework Tangelo. In my javascript I use AJAX and I'm trying to get the result of some Python script using AJAX. The python queries a mongodb, but I don't know if the

Redirect all subfolders to a file in root

php .htaccess http

There are similar situations and answers here to redirect a url to a specific file using mod-rewrite. I tried them but none of them worked for me.