CompressTools-Android icon indicating copy to clipboard operation
CompressTools-Android copied to clipboard

在华为mate8(Android7.0)会有warning:ExifInterface got an unsupported image format file(ExifInterface supports JPEG and some RAW image formats only) or a corrupted JPEG file to ExifInterface.

Open hacjy opened this issue 8 years ago • 2 comments

W/ExifInterface: Invalid image: ExifInterface got an unsupported image format file(ExifInterface supports JPEG and some RAW image formats only) or a corrupted JPEG file to ExifInterface. java.io.IOException: Invalid marker: 89 at android.media.ExifInterface.getJpegAttributes(ExifInterface.java:1852) at android.media.ExifInterface.loadAttributes(ExifInterface.java:1485) at android.media.ExifInterface.(ExifInterface.java:1122) at news.jaywei.com.compresslib.BitmapUtil.getScaledBitmap(BitmapUtil.java:172) at news.jaywei.com.compresslib.BitmapUtil.compressImageJni(BitmapUtil.java:217) at news.jaywei.com.compresslib.CompressTools$1.run(CompressTools.java:87) at java.lang.Thread.run(Thread.java:776)

hacjy avatar Sep 15 '17 08:09 hacjy

你查看下是不是图片损坏了,看看是不是图片的问题。

lexluthors avatar Sep 17 '17 04:09 lexluthors

同样出现这个问题,红米4X,7.0

penghongru avatar Nov 22 '17 02:11 penghongru