开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜