Questions tagged [image-cropper]
42 questions
5
votes
2 answers
Could not find com.theartofdev.edmodo:android-image-cropper:2.8.0
I add an image cropper in my application. But dispite using this guide, when I try to build the project, the following exception occurs:
10: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task…

Vaspit
- 55
- 1
- 1
- 4
4
votes
1 answer
Class referenced in the manifest, `com.theartofdev.edmodo.cropper.CropImageActivity`, was not found in the project or the libraries
Class referenced in the manifest, com.theartofdev.edmodo.cropper.CropImageActivity, was not found in the project or the libraries
CropImageActivity is not working in android.
I tried to change the manifest.xml files and update the build.gradle…

Harshit Sahu
- 41
- 2
4
votes
0 answers
How to crop XFile image if i have the coordinate that should be cropped (right,top,left,bottom)?
I'm using google-mlkit-object-detection where the detector detects for me many objects in an image and return for me RECT with the coordinate that detects so how can i crop these. ? as image

Flutter Dev
- 488
- 3
- 18
2
votes
0 answers
Cropper JS fixed Width and Height not working
The specified height and width are not used. In addition, the crop window is resizable. I want to have a fixed width and height of 160 pixels.
cropper = new Cropper(ProfileImageToCrop, {
aspectRatio: 1/1,
minCanvasWidth:…

Lorenz
- 31
- 1
2
votes
1 answer
I made a simple app with image picker and image cropper pakage and when writing this code i got this error, Null check operator used on a null value
import 'dart:io';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:image_cropper/image_cropper.dart';
import 'package:image_picker/image_picker.dart';
class ProfilePage…

Vipin
- 21
- 2
1
vote
1 answer
ImageCropper: fails with unhelpful error message on very large pictures
Using Primefaces's ImageCropper component, cropping a png image of 15,000 x 12,000 pixels fails, the only error trace I get is error reading png data. There is no error trace logged on my local IDE.
local IDE: NetBeans
JDK: 17
server: Payara

seinecle
- 10,118
- 14
- 61
- 120
1
vote
1 answer
CanHub Image Cropper stuck when cropping
I am using CanHub image cropper in Jetpack Compose like this:
val profilePictureCropLauncher = rememberLauncherForActivityResult(
CropImageContract()
) { result ->
if (result.isSuccessful) {
profilePicturePath = result.uriContent!!
…

spikanor
- 85
- 6
1
vote
2 answers
Image cropper not working in GetxController
The following is the code i was trying to implement in. The future method pickImage i guess it is the one having the problem. I am extending the class with GetxController. The method is expected to pick and crop the selected image using the image…

Peter Gitau
- 23
- 4
1
vote
1 answer
Getting image from another function - Flutter
I do have two functions and these are selectFile() and uploadProduct(). The selectFile contains the Image_Picker and Image_Cropper. and now I need to get the path and file from selectFile in my uploadProduct() to upload it on my Firebase Storage and…

flutternewbiee
- 73
- 7
1
vote
1 answer
Best library for image cropping in SwiftUI iOS?
I am working on iOS SwiftUI app Image editor, for image cropping I used the Mantis library but I faced one problem , when I pick image from gallery its working perfectly but getting app crashed when image is picked through camera .Getting this error…
1
vote
1 answer
How to find xy position of text in pdf or image
I want to have my code find the xy position of text in a pdf or image, so that I can crop the image out, this is so that I can include any diagrams that the question includes in the question (which consists of an image that text is put on top of), I…

LBloxo
- 13
- 4
1
vote
0 answers
I am unable to use cropper image library because while adding cropper activity it is showing error. my menifest.xml is here
i am adding these activity in menifestfile but showing red line and error unresolve

Sun Dev
- 11
- 2
1
vote
0 answers
Some Images be on the top of the image cropper
When i used to upload image from camera some be on the top of image cropper
code
try {
if (isItPickMenu) {
Navigator.pop(context);
}
pickedFile = await ImagePicker().pickImage(
source:
imageSource); //todo if the user denied the…

Flutter Dev
- 488
- 3
- 18
1
vote
1 answer
PlatformException(photo_access_denied, The user did not allow photo access., null, null)
If the user didn't allow access to the photos to pick images, I want to ask him another time for the permission or open settings to change the permission, how to do that with image_cropper, how to access the permission and then ask the user again?

Flutter Dev
- 488
- 3
- 18
1
vote
1 answer
Flutter image_cropper plugin error: "You need to use a Theme.AppCompat > theme (or descendant) with this activity"
I'm using Flutter's image_cropper plugin & it's throwing an error about AppCompat:
java.lang.RuntimeException: Unable to start activity
ComponentInfo{uk.co.pottertour.meloan/com.yalantis.ucrop.UCropActivity}:
java.lang.IllegalStateException: You…

Sam
- 1,659
- 4
- 23
- 42