compressorjs
compressorjs copied to clipboard
IOS-img-rotate
Describe the bug IOS照片上传部分手机机型还是会出现照片翻转的情况,iphone8 版本13.5.1
Describe the bug IOS照片上传部分手机机型还是会出现照片翻转的情况,iphone8 版本13.5.1
same problem, iOS rotate the image, in Android seems to be ok
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.
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
when set quality less than 0.6 , the img rotate is fine . set quality to 0.8 or 1 . img will rotate 90
@Asterwen You can set the strict
to false
for your case.