How to load an image and resize it immediately to use later
<p>I am working on an app for image processing.
I use BitmapFactory.decodeStream to load an image, when I press the button to pass the image to setPixel, it leads to OutOfMemoryError.
I tried smaller image is okay.</p>

<p>Anyway to load a big image and immediately save it in Bitmap with a smaller size?</p>
