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] Heic Image skew after commpress #317

Open
taosimple opened this issue Sep 18, 2024 · 0 comments
Open

[Bug report] Heic Image skew after commpress #317

taosimple opened this issue Sep 18, 2024 · 0 comments

Comments

@taosimple
Copy link

taosimple commented Sep 18, 2024

Version

2.3.0

Platforms

Android

Device Model

Realme RMX3366(Android 14)

flutter info

[✓] Flutter (Channel stable, 3.24.1, on macOS 14.6.1 23G93 darwin-arm64 (Rosetta), locale en-US)
    • Flutter version 3.24.1 on channel stable at /Users/taotao/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5874a72aa4 (4 weeks ago), 2024-08-20 16:46:00 -0500
    • Engine revision c9b9d5780d
    • Dart version 3.5.1
    • DevTools version 2.37.2
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/taotao/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/taotao/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
    • All Android licenses accepted.

How to reproduce?

XFile? result = await FlutterImageCompress.compressAndGetFile(
            file.path,
            targetFile.path,
            quality: Platform.isAndroid ? 90 : 60,
            format: mapImageFormat(file.name),
            keepExif: true,
            autoCorrectionAngle: true,
          );
image

Origin image and skew compress image in the attachment file below:

Archive.zip

Logs

No response

Example code (optional)

No response

Contact

No response

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

1 participant