ArthurHub / ArthurHub/Android-Image-Cropper
Original image saved in gallery when launching Crop activity
- Dominant language
- Java
- Stars
- 6.4k
- Forks
- 1.4k
- PR merge metrics
- No merged PRs in 30d
Description
I am experiencing one weird thing while using ArthurHub/Android-Image-Cropper, everything works fine, the image is sent to crop activity and cropped image is retrieved to ImageView. However, when I press crop button to launch Crop Activity the original image is saved in the gallery by itself. Please help.
Here is the code:
mBinding.btnCrop.setOnClickListener {
filteredBM.value?.let {
val uri = getImageUri(this, it)
imageUri = uri
CropImage.activity(imageUri)
.start(this)
}
}
So the image is already in the image view when launching crop activity. In onActivityResult I put the cropped image into that image view and everything works fine except for that original image being saved in the gallery.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.