fluttercommunity / flutter_launcher_icons

Flutter Launcher Icons - A package which simplifies the task of updating your Flutter app's launcher icon. Fully flexible, allowing you to choose what platform you wish to update the launcher icon for and if you want, the option to keep your old launcher icon in case you want to revert back sometime in the future. Maintainer: @MarkOSullivan94
https://pub.dev/packages/flutter_launcher_icons
MIT License
1.99k stars 393 forks source link

[BUG] Icon generated for windows have very low quality (even with icon_size: 256 ) #573

Open pouyaSanjari opened 1 week ago

pouyaSanjari commented 1 week ago

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

:scroll: 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 commented 1 week ago

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

pouyaSanjari commented 1 week ago

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