Skip to content

[iOS] Image quality rendered from image.asset()is not similar to the one rendered using native UIImageView #96733

@yx-mike

Description

@yx-mike

[✓] Flutter (Channel unknown, 2.5.1, on macOS 12.1 21C52 darwin-arm, locale zh-Hans-CN)
• Flutter version 2.5.1 at /Users/yangxin/Library/Flutter/2.5.1/flutter
• Upstream repository unknown
• Framework revision ffb2ece (4 months ago), 2021-09-17 15:26:33 -0400
• Engine revision b3af521a05
• Dart version 2.14.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 30.0.3)
• Android SDK at /Users/yangxin/Library/Android/sdk
✗ cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 13.2.1, Build version 13C100
• CocoaPods version 1.11.2

[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions).

[✓] VS Code (version 1.63.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.32.0

[✓] Connected device (3 available)

On the left is the use of Image.asset on the flutter page.
On the right is the use of UIImageView on the native page.
wecom-temp-3f5f1bb417b7e919acc67f7e75185825
There are obvious differences between the two pictures, and the colors on the right look brighter

Original Image
image.zip

native image sdk:
SDWebImage is using version 5.9.3.
libwebp is using version 1.2.1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: imagesLoading, displaying, rendering imagesengineflutter/engine related. See also e: labels.found in release: 2.8Found to occur in 2.8found in release: 2.9Found to occur in 2.9has reproducible stepsThe issue has been confirmed reproducible and is ready to work onplatform-iosiOS applications specificallyteam-iosOwned by iOS platform teamtriaged-iosTriaged by iOS platform team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions