Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down