edge_detection
edge_detection copied to clipboard
Image is not displayed on the cropper screen. Black screen.
Image is not displayed on the cropper screen. https://user-images.githubusercontent.com/41744054/106915480-404fe100-6730-11eb-8d49-880482c0b045.mp4
Is that on huawei phone? I'm getting this issue only on huawei phones :/
It's on Xiaomi Redmi 4
did you try google resetting cache on google play services app?
Tried deleting cache, but it didn't help.
Seems happened to Oppo Android 8.0 as well.
FYI, I'm including from git instead of pub.dev
edge_detection:
git:
url: [email protected]:sawankumarbundelkhandi/edge_detection.git
ref: master
This issue is related to image size try this.
In CropPresenter.kt
method onViewsReady
:
Change iCropView.getPaper().setImageBitmap(bitmap)
to
iCropView.getPaper().setImageBitmap(Bitmap.createScaledBitmap(bitmap, 1080, 1920, false))