Comments (16)
With gallery, everything is ok. But when i open camera to capture, I have the issue be like this: java.lang.RuntimeException: Failed to load sampled bitmap: file:///storage/emulated/0/MyDir/img_1463316925324.jpg. I'm using newest version
from android-image-cropper.
Facing this again in Android 11(SDK 30), similar to reported in #47 (comment)
from android-image-cropper.
I am still facing same issue in V 2.7.0. I am picking image from local storage.
from android-image-cropper.
The issue is coming back again in Android 11 (SDK 30) and seems to affect mostly Samsung phones and Google pixel 3. Non of the above solutions worked! any tips? I am trying to solve for a week now but nothing so far.
from android-image-cropper.
wow, looks like it's a bug in Android library 😡
Apparently Android bitmap decoding code is based on Skia
library that has known bugs, mostly in BitmapRegionDecoder
for specific features and formats.
I will a fallback to BitmapFactory
full image decoding and then crop the required region in case BitmapRegionDecoder
has failed.
Thank you for reporting this.
p.s. you should always catch exceptions to prevent app crash, show some error message, it is proffered user experience.
from android-image-cropper.
added fallback to v1.2.4, let me know if there is still issue
from android-image-cropper.
Thank you for the quick update 👍 and the awesome work on this library ;)
from android-image-cropper.
The issue still exists with v2.2.2 when passing URI - http://hostname/images/imageName.jpeg
from android-image-cropper.
External URI's (http) are not supported, only URI's to internal Android sources.
from android-image-cropper.
is this solved? im having the same issue using latest build
EDIT: Solved it :D
from android-image-cropper.
Hello @ArthurHub ! I also am this issue even when I am using an internal URI.
from android-image-cropper.
Same here, i am having this issue when trying to set the same Uri twice, when choosing image with Google Photos or in emulator with Files
from android-image-cropper.
what is the solution for this issue, I'm still facing this issue when picking the image from camera.
from android-image-cropper.
I found that adding
requestLegacyExternalStorage="true"
to the manifest fixes the issue.
from android-image-cropper.
The issue is coming back again in Android 11 (SDK 30) and seems to affect mostly Samsung phones and Google pixel 3. Non of the above solutions worked! any tips? I am trying to solve for a week now but nothing so far.
from android-image-cropper.
I am also facing android 11, 12(sdk 30, 31,32) when image is captured by camera then crop option not coming throw-out exception.
from android-image-cropper.
Related Issues (20)
- error in manifest about CropImageActivity HOT 1
- Native crash in "libc.so tgkill" at SupportRequestManagerFragment HOT 1
- activity is not found in project or libraies AndroidManifest.xml HOT 1
- The camera not working above android version 11.. HOT 5
- Start Activity with request code HOT 1
- RLÒP?PPÒÌUIUYYYTTTTTRRRÀ¹³⁴¹1L2J⁴⁶⁶⁷⁸⁹⁰=/ HOT 1
- The bottom of the cropped image is not fully displayed HOT 1
- Class referenced in the manifest was not found in the project or the libraries HOT 2
- The dependencies are not found in android 12 HOT 1
- Camera Issues (Android 11 and 12) HOT 6
- Cropped picture clarity is so poor HOT 3
- Could not find com.hendraanggrian.appcompat:socialview:0.3. Required by: project :app Search in build.gradle files HOT 2
- pick from google drive HOT 1
- Not showing any other options but opening camera only HOT 1
- i cant use the crop image !! HOT 1
- Unable to use images from camera HOT 3
- Error while importing HOT 6
- Veracode - vulnerabilities
- i can't build HOT 1
- cant use preview camera view on this cropper
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-image-cropper.