A native sdk function to scale Bitmap?
Is there some nativ开发者_运维百科e android SDK function which takes bitmap and desired new bitmap dimensions and then returns scaled bitmap?
You might take a look at: Bitmap.createScaledBitmap()
Bitmap.createScaledBitmap() corrupts the image. I think it changes the encoding to RGB_565, which means that the resulting bitmap is useless garbage.
精彩评论