- 博客(3)
- 收藏
- 关注
原创 设置图片在规定范围中间
Bitmap centerToFit(Bitmap bitmap, int width, int height, Context context) { final int bitmapWidth = bitmap.getWidth(); final int bitmapHeight = bitmap.getHeight(); if...
2012-01-16 09:12:10 120
原创 bitmap转字节
byte[] flattenBitmap(Bitmap bitmap) { // Try go guesstimate how much space the icon will take when serialized // to avoid unnecessary allocations/copies during the write. ...
2012-01-16 08:58:34 178
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人