Re: [android-developers] How to reduce size of JPEG Image in Android

2012-04-17 Thread arun kumar
*Maybe this will helpful for you* opt = new BitmapFactory.Options(); opt.inTempStorage = new byte[16 * 1024]; opt.inSampleSize = 4; opt.outWidth = 640; opt.outHeight = 480; Bitmap imageBitmap = BitmapFactory .decodeStream(in, new Rect(),

[android-developers] How to reduce size of JPEG Image in Android

2012-04-16 Thread perumal316
Hi All, In my application, I am invoking the camera application and taking a picture and saving it in a particular directory (E.g. /sdcard etc) The picture is saved as a JPEG image. How do I reduce the size of the image? Is there any available image encoder or compression available? I came