title: How do I scale a streaming bitmap in-place without reading the whole image first?
body: <p>I have an Android application that is very image intensive. I'm currently using <a href="http://developer.android.com/reference/android/graphics/Bitmap.html#createScaledBitmap%28android.graphics.Bitmap,%20int,%20int,%20boolean%29"><code>Bitmap.createScaledBitmap()</code></a> to scale the image to a desired size. However, this method requires that I already have the original bitmap in memory, which can be quite sizable.</p>
  
  <p>How can I scale a bitmap that I'm downloading without first writing the entire thing out to local memory or file system?</p>