Answers for "bitmap rotate 90 deg"

C++
0

bitmap rotate 90 deg

Matrix matrix = new Matrix();

matrix.postRotate(90);

Bitmap scaledBitmap = Bitmap.createScaledBitmap(bitmapOrg, width, height, true);

Bitmap rotatedBitmap = Bitmap.createBitmap(scaledBitmap, 0, 0, scaledBitmap.getWidth(), scaledBitmap.getHeight(), matrix, true);
Posted by: Guest on December-10-2020

Code answers related to "bitmap rotate 90 deg"

Browse Popular Code Answers by Language