Skip to content

[iOS] Compressed images appear blurry or lose quality even with high quality settings (v2.4.0) #348

@HirunikaSathsarani99

Description

@HirunikaSathsarani99

Version

2.4.0

Platforms

iOS

Device Model

iPhone 14

flutter info

[√] Flutter (Channel stable, 3.35.1, on Microsoft Windows [Version 10.0.26200.6899], locale en-US) [409ms]
    • Flutter version 3.35.1 on channel stable at C:\Users\xxxxxxxx
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 20f8274939 (3 months ago), 2025-08-14 10:53:09 -0700
    • Engine revision 1e9a811bf8
    • Dart version 3.9.0
    • DevTools version 2.48.0
    • Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-lldb-debugging

[√] Windows Version (11 Enterprise 64-bit, 25H2, 2009) [2.7s]

[!] Android toolchain - develop for Android devices (Android SDK version 35.0.0) [6.0s]
    • Android SDK at C:\Users\xxxxx
    • Emulator version 35.2.10.0 (build_id 12414864) (CL:N/A)
    • Platform android-36, build-tools 35.0.0
    • Java binary at: C:\Users\xxxxx\.jdks\ms-17.0.15\bin\java
      This JDK is specified in your Flutter configuration.
      To change the current JDK, run: `flutter config --jdk-dir="path/to/jdk"`.
    • Java version OpenJDK Runtime Environment Microsoft-11369865 (build 17.0.15+6-LTS)
    


[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.11.5) [193ms]
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Community
    • Visual Studio Community 2022 version 17.11.35327.3
    • Windows 10 SDK version 10.0.22621.0

[√] Android Studio (version 2025.1.4) [7ms]
    • Android Studio at C:\Users\xxxxxx\AppData\Local\Programs\Android Studio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 21.0.8+-14018985-b1038.68)

[√] VS Code (version 1.100.2) [6ms]
    • VS Code at C:\Users\xxxxx\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.120.0

[√] Connected device (4 available) [321ms]
    • SM A525F (mobile) • RZ8T50N3Z3Z • android-arm64  • Android 14 (API 34)
    • Windows (desktop) • windows     • windows-x64    • Microsoft Windows [Version 10.0.26200.6899]
    • Chrome (web)      • chrome      • web-javascript • Google Chrome 141.0.7390.123
    • Edge (web)        • edge        • web-javascript • Microsoft Edge 141.0.3537.85

[√] Network resources [556ms]
    • All expected network resources are available.

How to reproduce?

When compressing images on iOS devices using flutter_image_compress: 2.4.0, the resulting image often appears blurry, less detailed, or overly compressed, even when using relatively high quality settings (e.g., quality: 80–100).

Logs

Example code (optional)

final compressedBytes = await FlutterImageCompress.compressWithFile(
  file.path,
  minWidth: width,
  minHeight: height,
  quality: 80,
  format: CompressFormat.jpeg,
);

Contact

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions