I\'m making several calls to BitmapFactory.decodeFile() and BitmapFactory.decodeResource(), and I\'d like to specify the format the bitmaps are dec
BitmapFactory.decodeFile()
BitmapFactory.decodeResource()
This might be what you are looking for:
BitmapFactory.Options op = new BitmapFactory.Options(); op.inPreferredConfig = Bitmap.Config.ARGB_8888; bitmap = BitmapFactory.decodeFile(path, op);