I'm trying to compress a photo (.jpg) which is taken by the Android Camera.
For Example: Compress
Image with
2048 x 1536, quality 90, 24bit depth
to
1024 x 768, quality 70, 24bit depth
Is there any library or something that can do this?
I'm trying to compress a photo (.jpg) which is taken by the Android Camera.
For Example: Compress
Image with
2048 x 1536, quality 90, 24bit depth
to
1024 x 768, quality 70, 24bit depth
Is there any library or something that can do this?
you can equally do this to compress your bitmap image
ByteArrayOutputStream out = new ByteArrayOutputStream();
bitmap.compress(Bitmap.CompressFormat.PNG, 100, out);
Here 100 is quality of image and you can change format of image to get low resolution image.