Resources res = this.getContext().getResources();
img = bitmapFactory.decodeResource(res, R.drawable.slogo);
Matrix matrix = new Matrix();
matrix.postRotate(90); /*翻转90度*/
int width = img.getWidth();
int height = img.getHeight();
r_img = Bitmap.createbitmap(img, 0, 0, width, height, matrix, true);
posted @
以上就是关于bitmap的全部内容,相信你一定会非常满意。
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/ruanjian/article-6530-2.html
咱也不想炒股
还想看一遍