title: Rotating bitmap from URL using Picasso library
body: <p>I need to display images using Picasso library, keeping the original orientation.
  I'm taking pictures using Camera or from Gallery, and then upload multiple images to server using Volley.</p>
  
  <p>The problem is when images are loaded, they are rotated, i.e. orientation is wrong.</p>
  
  <p>How can I rotate images in both portrait or landscape mode loaded from server?</p>
  
  <pre><code>Picasso.with(getApplicationContext()).load("http://:www..." + url).into(imageView);
  </code></pre>
  
  <p>I tried to get <em>exif</em> orientation from images on server using PHP <em>exif_read_info</em>, but Orientation is not specified.</p>