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

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

Camera image is rotating



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.

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:


Hope that helps,