Open Naviloah opened 4 years ago
@Naviloah
Hello.
Thank you for using this library.
I have a question. How did you load your image?
If you load image as setImageResource
or else, you should use setImageFilePath
method.
You can refer #52 and sample code.
Thank you
I'm loading image with "glide" and it's loading perfectly but when I try to getCropInfo or getCroppedImage Im getting ClassCastException...so I'm asking how to get crop result
On Sun, 30 Aug 2020, 5:06 pm helloyako, notifications@github.com wrote:
@Naviloah https://github.com/Naviloah Hello. Thank you for using this library. I have a question. How did you load your image? If you load image as setImageResource or else, you should use setImageFilePath method.
You can refer #52 https://github.com/naver/android-imagecropview/issues/52 and sample code https://github.com/naver/android-imagecropview/blob/develop/app/src/main/java/com/naver/android/helloyako/imagecropsample/crop/CropFragment.kt#L43 .
Thank you
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/naver/android-imagecropview/issues/54#issuecomment-683424890, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK7OORNU7RULPXICWYZ7KNLSDJMG3ANCNFSM4QO32XZQ .
Yes. It's not supported by Glide.
please call setImageFilePath
method.
Ok thanks by the way I appreciate the library.."Great job"❤
On Sun, 30 Aug 2020, 5:16 pm helloyako, notifications@github.com wrote:
Yes. It's not supported by Glide. please call setImageFilePath method.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/naver/android-imagecropview/issues/54#issuecomment-683425991, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK7OORM44EYYHNLDEOA7KTLSDJNLDANCNFSM4QO32XZQ .
When I try to getCropInfo to get cropped results, it throws exception #ClassCastException FastBitmapDrawable to BitmapDrawable