I am working on an application, in which I need to pick an image from sd card and show it in image view. Now I want the user to decrease/increase its width by clicking a button and then save it back to the sd card.
I have done the image picking and showing it on ui. But unable to find how to resize it.Can anyone please suggest me how to achieve it.
Just yesterday i have done this
Also don’t forget to recycle your
bitmaps: It will save memory.You can also get path of new created file String:
newPath=file.getAbsolutePath();