-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bitmap too large to be uploaded into a texture #172
Comments
|
this can't help me, the cropView is blank, no image. |
@bigggge I think you need fix the code... |
Sorry,i cant help you. But android:hardwareAccelerated="false" is worked for me .You can see #121 |
@bigggge android:hardwareAccelerated="false" can't work form me.but Thank you very much, |
The proper solution is to use UCrop.Options setMaxBitmapSize() to make sure the OpenGLRenderer texture pixel limit is not exceeded |
@milan-milojevic Oh, thank you , I try |
Please check the latest uCrop version Lightweight general solutioncompile 'com.yalantis:ucrop:2.2.0' Get power of the native code to preserve image quality (+ about 1.5 MB to an apk size)compile 'com.yalantis:ucrop:2.2.0-native' |
resolved |
When I take a picture use UCrop to crop, but I get this Warning.
W/OpenGLRenderer: Bitmap too large to be uploaded into a texture (3120x4160, max=4096x4096)
I think the code does not handle the acceleration of the hardware to open the pixel limit
The text was updated successfully, but these errors were encountered: