I used crop intent to add image cropping functionality to my application. I used TouchImageView as my image view. After cropping and setting the cropped image to the TouchImageView, the image is blurred. Before adding this crop functionality, I have done this to get the image data from camera and set it to TouchImageView as:
Uri imageUri;
TouchImageView myTVF = (TouchImageView) findViewById(R.id.img);
imageUri = data.getData();
myTVF.setImageURI(imageUri);
But now, in order to use crop intent, after image capture followed by cropping, I am using this to set the cropped image to my TouchImageView:
(....)
else if(requestCode == PIC_CROP){
Bundle extras = data.getExtras();
Bitmap thePic= extras.getParcelable("data");
myTVF.setImageBitmap(thePic);
But, the image set is now blurry. Can anyone help me with this? (I am also trying to use other available cropping libraries.. but I just wanted to know why this is not working)