Yalantis/uCrop

Please merge the latest pull request to master from Denko Smith and Jesse Li in 2018/4/18

Open

#450 geöffnet am 25. Aug. 2018

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Java (2.134 Forks)batch import
help wanted

Repository-Metriken

Stars
 (11.748 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

Do you want to request a feature or report a bug? bug What is the current behavior? Exception occured. W/ExifInterface: Invalid image. java.io.IOException: Invalid marker: 89 at android.media.ExifInterface.getJpegAttributes(ExifInterface.java:1654) at android.media.ExifInterface.loadAttributes(ExifInterface.java:1360) at android.media.ExifInterface.<init>(ExifInterface.java:1063) at com.yalantis.ucrop.task.BitmapCropTask.crop(BitmapCropTask.java:131) at com.yalantis.ucrop.task.BitmapCropTask.doInBackground(BitmapCropTask.java:91) at com.yalantis.ucrop.task.BitmapCropTask.doInBackground(BitmapCropTask.java:30) at android.os.AsyncTask$2.call(AsyncTask.java:295) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:234) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588) at java.lang.Thread.run(Thread.java:818) I/BitmapCropTask: Should crop: true

What is the expected behavior? uCrop not work.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. 【The pull request from Denko Smith and Jesse Li in 2018/4/18 had fixed.】!!!

Please attach any image files, URL and stack trace that can be used to reproduce the bug.

Which versions of uCrop, and which Android API versions are affected by this issue? Did this work in previous versions of uCrop? 2.2.2

Contributor Guide