title: Rotate a saved bitmap in android
body: <p>I am saving an image from the camera that was in landscape mode. so it gets saved in landscape mode and then i apply an overlay onto it that too is in landscape mode. I want to rotate that image and then save. e.g. if i have this</p>
  
  <p><img src="https://i.stack.imgur.com/kIk82.png" alt="enter image description here"></p>
  
  <p>I want to rotate clockwise by 90 degrees once and make it this and save it to sdcard:</p>
  
  <p><img src="https://i.stack.imgur.com/Nhw95.png" alt="enter image description here"></p>
  
  <p>How is this to be accomplished?</p>