1

At my project i have image crop function when user change profile . Everything is going fine but when i try to crop the image after select photo the photo change to blur and loss resolution . I use Edmodo cropper. is there have any solution or a better image cropper. Here is my code ...

 private void startCrop(Uri imageUri) {
    CropImage.activity(imageUri)
            .setGuidelines(CropImageView.Guidelines.OFF)
            .setMinCropWindowSize(200, 200)
            .setFixAspectRatio(true)
            .setBackgroundColor(ContextCompat.getColor(this,                          R.color.colorTransparent))
            .setCropShape(CropImageView.CropShape.RECTANGLE)
            .setBorderLineColor(Color.WHITE)
            .setBorderLineThickness(2)
            .start(this);
}
Punit Sharma
  • 2,951
  • 1
  • 20
  • 35
Kim Te
  • 11
  • 1

0 Answers0