Yalantis/uCrop

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

Open

#450 建立於 2018年8月25日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)Java (2,134 fork)batch import
help wanted

倉庫指標

Star
 (11,748 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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

貢獻者指南