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

IOS-img-rotate #138

Open
Asterwen opened this issue Oct 9, 2021 · 5 comments
Open

IOS-img-rotate #138

Asterwen opened this issue Oct 9, 2021 · 5 comments

Comments

@Asterwen
Copy link

Asterwen commented Oct 9, 2021

Describe the bug
IOS照片上传部分手机机型还是会出现照片翻转的情况,iphone8 版本13.5.1

@gtrejoDZ
Copy link

Describe the bug IOS照片上传部分手机机型还是会出现照片翻转的情况,iphone8 版本13.5.1

same problem, iOS rotate the image, in Android seems to be ok

@fengyuanchen
Copy link
Owner

I have no device to check it, you can try the set the checkOrientation option to false, or try to set the image-orientation CSS style.

@gtrejoDZ
Copy link

gtrejoDZ commented Nov 3, 2021

photos from the android camera have no EXIF attributes, in that case, the orientation may be set to 1
meanwhile, in ios devices the EXIF attributes exists, then I use the npm exif-js package to read that attributes for orientation

@Asterwen
Copy link
Author

when set quality less than 0.6 , the img rotate is fine . set quality to 0.8 or 1 . img will rotate 90

@fengyuanchen
Copy link
Owner

@Asterwen You can set the strict to false for your case.

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