Yalantis/uCrop

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

Open

#450 aperta il 25 ago 2018

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Java (2134 fork)batch import
help wanted

Metriche repository

Star
 (11.748 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor