cropiwa
cropiwa copied to clipboard
📐 Configurable Custom Crop widget for Android
Hi, If i use `setImageUri()` it works perfectly, but if i convert same `uri` to `Bitmap` and set using `setImage(bitmap)`, it didn't load `bitmap`. Thanks
After calling cropView.crop() method I am getting original image uri in onCropSuccess and not the cropped one. How can I get cropped image uri?
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.io.File android.app.Application.getFilesDir()' on a null object referenceat com...sample.f.a.b(SourceFile:35)at com...sample.CropGalleryActivity.onCreate(SourceFile:40) This is typically this line: cropGalleryAdapter.addImages(CropGallery.getCroppedImageUris()); Any suggestions:
stacktrace as follows: java.lang.RuntimeException: An error occurred while executing doInBackground() at android.os.AsyncTask$3.done(AsyncTask.java:325) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354) at java.util.concurrent.FutureTask.setException(FutureTask.java:223) at java.util.concurrent.FutureTask.run(FutureTask.java:242) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:243) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1133) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:607) at java.lang.Thread.run(Thread.java:760) java.lang.IllegalArgumentException: x must be...
How to center the crop window in the crop layout? I am using square layout with aspect ratio 1:1 for crop window. But the crop window is not center align...
We are developing a profile section for an app that requires us to draw a crop overlay shape (rect and oval) that has a width equal to the whole screen....
``` val intent = Intent(Intent.ACTION_GET_CONTENT) intent.type = "image/*" startActivityForResult(Intent.createChooser(intent, "Pick a photo"), 777) ``` uri = `content://com.android.providers.media.documents/document/image%3A146630` ``` Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.net.Uri.getScheme()' on a...
Showing black crop area on samsung device.
if Crop process is not ended yet app is crashed. That's major bug. 