Looking to resize six images I download from the size of 1200x1200 to just 1024x1024 without having the outOfMemory
error.
So far using the Bitmap.createScaledBitmap(src, dstWidth, dstHeight, filter)
cause the OOM problems. and scaling it using the BitmapFactory.options
and specifying the inSampleSize
best can get me is 600x600 size image.
Is there any solution to scale the images to exactly 1024x1024 or there isn't ?
and a general question why we always have Bitmap problems in android can't they fix the garbage collector to collect all unused bitmaps ?