Comments (7)
Do you get this error when you select an image with picker?
from compose-cropper.
Do you get this error when you select an image with picker?
Hmm, I guess I don't understand how it works. Is there a wiki or some instructions?
Thanks again.
from compose-cropper.
There are no wiki file or instructions. I will add instructions soon. When do you get that exception?
from compose-cropper.
Basically, I'm not sure where in the ImageCropDemoSimple Composable my picked image goes. I thought it was here:
ImageCropper( modifier = Modifier .fillMaxWidth() .weight(1f), imageBitmap = imageBitmap, contentDescription = "Image Cropper", cropStyle = cropStyle, cropProperties = cropProperties, crop = crop, onCropStart = {} ) { pickedImage }
But when I run the code I get the exception I mentioned...
from compose-cropper.
So you run ImageCropDemoSimple and it crashes immediately, right? what's your screen resolution? I will re-write ImageWithConstraints since i need dimensions of Composable and draw area. It returns constraints which are not valid under every condition.
from compose-cropper.
Hi, yes, that's exactly it.
I tried using the Pixel 4a emulator (1080x2340).
I also tried on my Pixel 7 Pro (1440x3120).
Thanks!
from compose-cropper.
also got this error when trying to save cropped image.
BTW, in one screen it works fine, in another FC's.
from compose-cropper.
Related Issues (20)
- How to rotate image or selection area?
- Fixed crop overlay's aspect ratio in dynamic crop
- Crop area is not respected for the 9:16 ratio HOT 1
- Versions 0.3.1, 0.3.2 & 0.3.3 are unavailable from Jitpack due to build failures HOT 2
- Add drag sides of crop box HOT 2
- Cropping does not work without drag or zoom HOT 1
- compose multiplatform HOT 1
- Stable Version? HOT 3
- Fatal Exception: java.lang.RuntimeException Canvas: trying to draw too large(192000000bytes) bitmap HOT 2
- API request, animated visibility enter/exit
- How Can I Add a compose to the Crop Position? HOT 2
- Cropped image, not accurate. HOT 1
- Rotation of image
- Add offset for picture. HOT 1
- Lack of documentation HOT 2
- Compose multiplatform HOT 2
- Wrong aspect ratio after scaling
- Compose multiplatform HOT 2
- how to change crop zone from code? HOT 2
- Material2 to Material3 migration HOT 1
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 compose-cropper.