will help you The following script will degrade the original image by 1 'quality point' on each page load, starting at 99. This isn't very robust, but should clearly demonstrate the concept. Warning: this will replace the original image! Use a copy if the original is important!
Hope that helps When you use setBipmap(bitmap) . It actually set like a android:src="IMAGE" . So it's overlapping to your background image. So, you have 2 choices. set the background image as a image src. exmp : android:src="@drawable/IMAGE". So whe you set the bitmap it won't overlap. Or , You can set the bitmap as the background of that imageview . like this imageView.setBackground(new BitmapDrawable(getResources(), BIMAP));
How do you scale an image for print without degrading the quality?
may help you . The Intent you send returns only low-quality picture as a small bitmap. If you want the full-resolution image, you need to prepare the file, where this image will be saved and provide all necessary information to the Camera application. The details are available at Save the full-size photo section, with all explanations and the code samples.