steelkiwi / cropiwa

📐 Configurable Custom Crop widget for Android
http://steelkiwi.com/
2.23k stars 330 forks source link

An error occured while executing doInBackground() #67

Open mihirmodiofficial opened 1 year ago

mihirmodiofficial commented 1 year ago

Caused by java.lang.IllegalArgumentException: width must be > 0 at android.graphics.Bitmap.checkWidthHeight(Bitmap.java:450) at android.graphics.Bitmap.createBitmap(Bitmap.java:874) at android.graphics.Bitmap.createBitmap(Bitmap.java:836) at com.steelkiwi.cropiwa.image.CropArea.applyCropTo(CropArea.java:35) at com.steelkiwi.cropiwa.image.CropImageTask.doInBackground(CropImageTask.java:49) at com.steelkiwi.cropiwa.image.CropImageTask.doInBackground(CropImageTask.java:20) at android.os.AsyncTask$3.call(AsyncTask.java:378) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)