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] Icon generated for windows have very low quality (even with icon_size: 256 ) #573

Open
pouyaSanjari opened this issue Sep 14, 2024 · 2 comments

Comments

@pouyaSanjari
Copy link

flutter_launcher_icons: ^0.13.1

i have tried to generate my windows application icon with the package and the result is very bad, it have a very low quality in file, but the generated file -> windows/runner/resourses/app_icon.ico have acceptable quality

📜 Pubspec.yaml

dev_dependencies:
flutter_test:
sdk: flutter

flutter_lints: ^2.0.0

flutter_launcher_icons:
windows:
generate: true
image_path: "assets/icons/app_icon.png"
icon_size: 256 # min:48, max:256, default: 48

@pouyaSanjari
Copy link
Author

pouyaSanjari commented Sep 14, 2024

generated image quality (compare with other icons)
image
Original image that has been converted
app_icon

@pouyaSanjari
Copy link
Author

UPDATE
i just realized that its because generated icon is very big(in windows explorer when see icon in higher sizes it have a good quality), and don't match all sizes, so we should have multiple sizes of image, like what we have in android and iOS, but I don't know how to do that, where and with what name should i put them

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