cropimage icon indicating copy to clipboard operation
cropimage copied to clipboard

How to crop image without aspect ratio?

Open robinprashanth opened this issue 10 years ago • 2 comments

Hi, I am using biokys lib to crop image,can someone help me how to crop image without any aspect ratio ? when i set the aspect ratio to 0 in intent.putExtra(CropImage.ASPECT_X, 0); intent.putExtra(CropImage.ASPECT_Y, 0); ans start the crop activity,in the crop screen when i change the rectangle line to new place the opposite side line is increasing proportionally.I dont want this effect.

robinprashanth avatar Oct 22 '13 13:10 robinprashanth

use intent.putExtra(CropImage.ASPECT_X, 1); intent.putExtra(CropImage.ASPECT_Y, 1);

dredfox avatar Oct 24 '13 05:10 dredfox

Hi, Thanks for the reply,but when you set the aspect ratios to 1,if i drag the 1 rectangle line or the overlay the opposite side line also increases equally.I dont need this effect.Let me know if you have any solution?

robinprashanth avatar Nov 05 '13 07:11 robinprashanth