Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

华为荣耀畅玩9a(android 10),压缩后图片显示有问题 #1356

Closed
tom161566038 opened this issue Apr 22, 2020 · 4 comments
Closed

华为荣耀畅玩9a(android 10),压缩后图片显示有问题 #1356

tom161566038 opened this issue Apr 22, 2020 · 4 comments

Comments

@tom161566038
Copy link

tom161566038 commented Apr 22, 2020

华为荣耀畅玩9a(android 10),压缩后图片显示有问题,

通过exifinterface检查orientation并旋转后显示问题

=========

追加,我觉得这里是不是有问题,rotate的角度不能直接传orientation吧
Engine的compress方法里:
if (srcImg.getMedia() != null && Checker.SINGLE.isJPG(srcImg.getMedia().getMimeType())) {
int orientation = srcImg.getMedia().getOrientation();
if (orientation > 0) {
tagBitmap = rotatingImage(tagBitmap, orientation);
}
}

@LuckSiege
Copy link
Owner

已修复了明天会发新版本

@aikongmeng
Copy link

发新版本了吗

@LuckSiege
Copy link
Owner

正在发了

@LuckSiege
Copy link
Owner

发好了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants