title: Get scaled Image from URL
body: <p>I am using the following method to get an image from a given URL. </p>
  
  <pre><code>protected Bitmap doInBackground(String... urls) {
      String urlDisplay = urls[0];
      Bitmap scaledImage = null;
      try {
          InputStream in = new java.net.URL(urlDisplay).openStream();
          scaledImage = Bitmap.createScaledBitmap(BitmapFactory.decodeStream(in), 380, 250, false);
      } catch (Exception e) {
          Log.e("Error", e.getMessage());
          e.printStackTrace();
      }
      return scaledImage;
  }
  </code></pre>
  
  <p>Is there anyway to get a scaled image without having to download the full sized image first? It would greatly increase load times. </p>