How to reduce the size of camera picture while saving, using the camera action intent.
I was trying to use MediaStore.EXTRA_SIZE_LIMIT in putExtra of the camera action as below :
Intent captureintent = new Intent(android.provider.MediaStore.ACTION_IMAGE_CAPTURE);
captureintent.putExtra(MediaStore.EXTRA_OUTPUT, outputFileUri);
captureintent.putExtra(MediaStore.EXTRA_VIDEO_QUALITY, 0);
captureintent.putExtra(MediaStore.EXTRA_SCREEN_ORIENTATION, 0);
captureintent.putExtra(MediaStore.EXTRA_SIZE_LIMIT, The Value to be Kept);
But this doesn't seem to work.
What is the efficient way to do so?