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

[Bug report] size of the originFile is wrong #1123

Closed
coronoal opened this issue Apr 30, 2024 · 1 comment
Closed

[Bug report] size of the originFile is wrong #1123

coronoal opened this issue Apr 30, 2024 · 1 comment

Comments

@coronoal
Copy link

Version

3.1.0

Platforms

iOS

Device Model

iPhone 12 (iOS17.4.1)

flutter info

Flutter 3.19.6

How to reproduce?

iOS device.
get the originFile of the photo, then to display it or save it locally, the size of the picture is wrong.
1:1, 4:3, 16:9 will all become 4:3

but 3.0.0 correct

Logs

No response

Example code (optional)

void saveByAssetEntity(AssetEntity assetEntity) async {
    // get originFile
    var file = await assetEntity.originFile;

    // save it locally or display
    var result = await PhotoManager.editor.darwin.saveImageWithPath(
      imageFile: file!.path,
      title: 'IMG_123',
    );

    // 1:1, 4:3, 16:9 will all become 4:3
  }

Contact

No response

@AlexV525
Copy link
Member

AlexV525 commented Jun 7, 2024

Might be fixed by #1140. Please verify

@AlexV525 AlexV525 closed this as completed Jun 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants