Reduce Bitmap size using BitmapFactory.Options.inSampleSizeIn the post Load ImageView with JPG fil
Reduce Bitmap size using BitmapFactory.Options.inSampleSize
In the post "Load ImageView with JPG file in SD Card", the ImageView is loaded with bitmap in full-size. It cost too much resources for a mobile device, and easy to make the app closed unexpectly.
We can generate a shrinked bitmap using?BitmapFactory.Optionswith inSampleSize; such that to reduce the needed resources greatly.
