title: Android: Determining image size for image view
body: <p>I tried looking up for an answer on SO but couldn't find any.</p>
  
  <p>I want to load an image from a url and display it on my image view. For the same, I am using Picasso but I am confused how should I go about resizing it. What width and height arguments should I pass it?</p>
  
  <p>To ensure optimality (least size, best quality), what parameters do I need?
   1. Original image width (px)
   2. Original image height (px)
   3. Screen dpi (ldpi/mdpi/hdpi/etc)
   4. Screen size in px / inches ? (Do I need this?)</p>
  
  <p>My image view layout is set to  android:layout_width="match_parent" and android:layout_height="wrap_content. Do I need to change them as well?</p>
  
  <p>Please consider both landscape and portrait orientation of images. Thanks.</p>