In this post, we will learn how to resize and compress an image in Android. Resize image will give usefull in some time.
|
With the above coe we can resize image from given file.
How to rotate Bitmap in Android?
We can rotate given bitmap by below functionality
Bitmap RotateBitmap(Bitmap source, float angle) |
in the above method pass bitmap which we need to ratate and pass rotation angle
Generate Bitmap from drawable image
|
References:
Article Contributed By :
|
|
|
|
5753 Views |