YehudaKremer / msix

Create Msix installer for flutter windows-build files.
https://pub.dev/packages/msix
MIT License
273 stars 64 forks source link

[BUG] Scaled down icons have darker borders #239

Open Tienisto opened 9 months ago

Tienisto commented 9 months ago

:information_source: Info

3.16.4

:speech_balloon: Description

The generated icons have a dark border instead of fading to transparent.

On small images (like 44x44) this is very noticable.

Original:

windows-icon-512

Start Menu:

grafik

I opened the generated icon in Gimp and put a white background to see if it is dark or transparent, apparently, this is dark.

grafik

:scroll: Pubspec.yaml

msix_config:
  display_name: LocalSend
  publisher_display_name: Tien Do Nam
  identity_name: 11157TienDoNam.LocalSend
  logo_path: assets\packaging\windows-icon-512.png
  languages: en, ar, bn, cs, de, es-ES, fa, fr-FR, hu, in, it, iw, ja, ko, ne, nl, pl, pt-BR, ru, sv, tr, uk, zh-CN, zh-HK, zh-TW
  os_min_version: 10.0.19041.0

  startup_task:
    task_id: localsend
    enabled: false
    parameters: autostart
GaryElshaw commented 9 months ago

Better?

localsend

sergd88 commented 8 months ago

ℹ️ Info

3.16.4

💬 Description

The generated icons have a dark border instead of fading to transparent.

On small images (like 44x44) this is very noticable.

Original:

windows-icon-512

Start Menu:

grafik

I opened the generated icon in Gimp and put a white background to see if it is dark or transparent, apparently, this is dark.

grafik

📜 Pubspec.yaml

msix_config:
  display_name: LocalSend
  publisher_display_name: Tien Do Nam
  identity_name: 11157TienDoNam.LocalSend
  logo_path: assets\packaging\windows-icon-512.png
  languages: en, ar, bn, cs, de, es-ES, fa, fr-FR, hu, in, it, iw, ja, ko, ne, nl, pl, pt-BR, ru, sv, tr, uk, zh-CN, zh-HK, zh-TW
  os_min_version: 10.0.19041.0

  startup_task:
    task_id: localsend
    enabled: false
    parameters: autostart

Did you use a white background for the icon just for a more vivid demonstration of the issue, or are you actually planning to add a circular white background to the icon? Because if that's the case, it's not a very good idea.