Android中压缩图片

来源:互联网 发布:淘宝卖家的货款在哪里 编辑:程序博客网 时间:2024/06/07 12:29

Bitmap的compress方法


计算Bitmap所占空间:

高版本的API为: getByteCount()

低版本只能通过自己计算:getRowBytes() * getHeight()

0 0
原创粉丝点击