Source: StackOverflow
Question: How to scale Bitmap
without losing much quality
Answer: Use Matrix
instead of Bitmap.createScaledBitmap()
/**
* @param bitmap the Bitmap to be scaled
* @param threshold the maxium dimension (either width or height) of the scaled bitmap