From ed62a7dc328247cc0b84cbc282aa81c8e784a98d Mon Sep 17 00:00:00 2001 From: gourav <40586403+gouravtechno@users.noreply.github.com> Date: Sun, 4 Oct 2020 12:41:29 +0530 Subject: [PATCH] Update README.md This is very highlighted feature. please use it --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 5e6eaf10..d74d1d56 100644 --- a/README.md +++ b/README.md @@ -55,6 +55,11 @@ Add this line to your Proguard config file // for fragment (DO NOT use `getActivity()`) CropImage.activity() .start(getContext(), this); + + // start cropping with aspect Ration for fit in imageview . + CropImage.activity(imageuri) + .setAspectRatio(1,1) //square Size for fit in imageview. + .start(this); ``` 4. Override `onActivityResult` method in your activity to get crop result