I am getting an image from the Internet and I am showing the image on to the ImageView. Please let me know is there any way in which I can compress the image(to a particular size/dimension) and show it on the Imageview, as the image is user-uploaded image.
Thanks
I am getting an image from the Internet and I am showing the image
Share
You can use
BitmapFactory.Optionsclass to crop image to any size.You can use following:
For more info, please see this.