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

三星手机拍照,照片旋转 #222

Open
751803525 opened this issue Oct 22, 2021 · 3 comments
Open

三星手机拍照,照片旋转 #222

751803525 opened this issue Oct 22, 2021 · 3 comments

Comments

@751803525
Copy link

🐛 Bug Report

三星拍照 返回的图片旋转了90°

To Reproduce

asyncOpenCamera({
    imageCount: 1,
    isCamera: true,
    showCropCircle: false,
  })
  .then((res: Photo[]) => {
    onDismiss && onDismiss();
    onOperationSuccess && onOperationSuccess(res);
  })
  .catch((err) => {
    onDismiss && onDismiss();
    onOperationError && onOperationError(err);
  });

Environment

RN 版本 0.66
手机: 三星 A90

@suwu150
Copy link

suwu150 commented Oct 26, 2021

有解决方案吗

@suwu150
Copy link

suwu150 commented Oct 26, 2021

我也遇到了同样的问题三星 SM-A5160 0.5.3

    {
        isGif: true,
        isCrop: false,
        quality: 80,
        compress: true,
        // enableBase64: false,
        compressFocusAlpha: false // 压缩时保留图片透明度(开启后png压缩后尺寸会变大但是透明度会保留)
      }

@751803525
Copy link
Author

我换用了 image crop picker ,这个问题出在android的调用上,没对三星的手机做适配

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

2 participants