I used the below code for import gallery images to my ImageView
but it reduces image size. If the original image size is above 5MB, after importing and saving the image, it reduces the image size to 2MB and the quality is lost. Any suggestion for getting an image from the gallery and saving without reducing the size and quality?
Bitmap bitmapImage = BitmapFactory.decodeFile(images.get(position));
setBitmap(bitmapImage);