Cropping using sides in addition to corners
sajjadroudi opened this issue · 2 comments
sajjadroudi commented
SarithaSai2020 commented
Hi there,
you can use below code to custom crop , cropping with user hand.
UCrop.Options options = new UCrop.Options();
options.setCompressionFormat(Bitmap.CompressFormat.JPEG);
options.setCompressionQuality(100);
options.setFreeStyleCropEnabled(true);
options.setShowCropGrid(true);
options.setHideBottomControls(true);
UCrop uCrop = UCrop
.of(uri, Uri.fromFile(new File(this.getTmpDir(this), UUID.randomUUID().toString() + ".jpg")))
.withOptions(options);
uCrop.start(this);
Selina592732122 commented
Same question