Android : How to limit minimum dimensions of cropper in android?

on Sunday, September 21, 2014


I want to restrict the user to crop the image to an image of 200 x 200 or some other value. i.e. while cropping, if the cropper has reached its minimum limit defined by me , it should stop squeezing inward. Can any one guide me how can i do this.


Some extras that m using for cropping are :



intent.setType("image/*");
intent.putExtra("crop", "true");
intent.putExtra("scale", true);

intent.putExtra("aspectX", 1);
intent.putExtra("aspectY", 1);

intent.putExtra("outputX", 600);
intent.putExtra("outputY", 600);


enter image description here


0 comments:

Post a Comment