Ti.Media.takePicture() with the front camera is reverted

You must Login before you can answer or comment on any questions.

Hi,

I take a picture with the Ti.Media.takePicture() function and with the front camera ( Ti.Media.switchCamera(Ti.Media.CAMERA_FRONT); )

But the image i've got is reflected / mirrored horizontally.

I make an application only for iOS.

How can i revert that ? With a 2D / 3D Matrix ? so what could be the transform parameters ?

Thank you,

— asked 10 months ago by Aymeric Planche
2 Comments
  • Missing from your question are a number of important pieces of information. I suggest you take a look at the Using Questions and Answers article, specifically the Q&A Question Checklist. The missing information is critical to reproducing problems in a test environment and often indicates other factors that cause the undesirable outcome you are experiencing.

    — commented 10 months ago by Stephen Feather

  • Thank you, i founded a solution with a 3D transform :)

    var t1 = Ti.UI.create3DMatrix();
    t1 = t1.rotate(180,0,1,0);
    imageView.transform = t1;

    — commented 10 months ago by Aymeric Planche

Your Answer

This question has been locked and cannot accept new answers.