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] How to remove alpha in image ? #253

Closed
javierbm7 opened this issue May 25, 2021 · 3 comments
Closed

[BUG] How to remove alpha in image ? #253

javierbm7 opened this issue May 25, 2021 · 3 comments

Comments

@javierbm7
Copy link

ℹ️ Info

Version: e.g. v0.7.5

💬 Description

Enter a description of your problem here

📜 Pubspec.yaml

We ask that you include your pubspec.yaml file as a common problem we have seen has been the pubspec.yaml file being incorrect

@sarveshbhatnagar
Copy link

+1 Facing the same issue. If an image contains alpha channel then it fails for iOS validation.

@swbliss
Copy link

swbliss commented Jun 9, 2021

In version 0.9.0, the option to remove alpha channel for iOS icons is added (https://pub.dev/packages/flutter_launcher_icons)
You can activate this option by adding remove_alpha_ios option like this.

flutter_icons:
  android: "launcher_icon"
  ios: true
  image_path: "assets/icon/icon.png"
  remove_alpha_ios: true

@MarkOSullivan94
Copy link
Collaborator

Thanks for providing the answer @swbliss!

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

4 participants