我想压缩一个文件夹中的所有图像,我使用了这个 Compressor 库。
我在压缩文件时收到了这种类型的警告,我无法理解我收到了图像压缩或覆盖接口方法的警告。
ExifInterface: Skip the tag entry since tag number is not defined: 544
Skip the tag entry since tag number is not defined: 545
Skip the tag entry since tag number is not defined: 546
Skip the tag entry since tag number is not defined: 547
Skip the tag entry since tag number is not defined: 548
Skip the tag entry since tag number is not defined: 549
Skip the tag entry since tag number is not defined: 2
代码:
@Override
public void setQualityRatio(Integer qualityNum) {
for (int i=0; i<orgFileList.size(); i++){
try {
File file = new Compressor(CompressMultipleActivity.this).setQuality(qualityNum).compressToFile(orgFileList.get(i));
currFileList.set(i, file);
}catch (IOException e){
Toast.makeText(CompressMultipleActivity.this, "Failed to compress image, Try again later!", Toast.LENGTH_SHORT).show();
}
}
}
我这里有什么问题?为什么我会收到此警告,我该如何解决?
撒科打诨
相关分类