Closed soonmyeong2 closed 3 years ago
use this CropImage.activity() .setGuidelines(CropImageView.Guidelines.ON) .setAspectRatio(1, 1) .setCropShape(CropImageView.CropShape.OVAL) //shaping the image .start(ProfileActivity.this);
It is one of the good alternatives. But I want a circle inside a rectangle. Non-square
use this CropImage.activity() .setGuidelines(CropImageView.Guidelines.ON) .setAspectRatio(1, 1) .setCropShape(CropImageView.CropShape.OVAL) //shaping the image .start(ProfileActivity.this);
Hey!
I start a new project to handover this library https://github.com/CanHub/Android-Image-Cropper
The ideia is that we keep improving because this project don’t have updates since 2018
Hope I can count with your help.
Open to contribute, next pieces of work will be Android 11 permissions, refactor into Kotlin and ActivityContract
I achieved my goal by modifying the CropOverlayView.java
file. Thank you all.
I want to add a circular shape to the square as shown in the example picture. The result should be the same as Rectangle Crop. I just want to add a circular guide.
Is that possible?