Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
New Member
Posts: 1
Registered: ‎02-12-2013
My Device: Black Berry 5.0
My Carrier: Black Berry

Camera image is rotating

Hi,

 

I am very new to blackberry development. In my project i have task that need to take photo from camera and display it in bitmap field. When i do that in 5.0  version api. after capture from camera base64 encoding, image is rotating towards left 90digrees. Can any one resolved this problem, then please let me know the process to get original picture.

Highlighted
Developer
Posts: 729
Registered: ‎05-04-2011
My Device: 9700

Re: Camera image is rotating

Hi @chowhan24

 

You have to read the orientation from the file data and rotate the image accordingly.

 

Check out this link:
http://stackoverflow.com/questions/12603987/wrong-perspective-image-after-taking-picture-on-accelero...

 

Hope that helps,

 

E.