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] App logo smaller than other ones #179

Closed
mgenware opened this issue Feb 17, 2023 · 5 comments
Closed

[BUG] App logo smaller than other ones #179

mgenware opened this issue Feb 17, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@mgenware
Copy link

I've already had the logo_path point to a 1024x1024 png file.

Most app logos in windows 11 store are like this:
image

Apps built with this plugin are like:
image

My config:

msix_config:
  display_name: -
  publisher_display_name: -
  publisher: -
  identity_name: -
  msix_version: 2.0.0.0
  logo_path: .\icon.png
  languages: en
  assets_directory_path: res
@YehudaKremer YehudaKremer added the bug Something isn't working label Feb 22, 2023
@Tienisto
Copy link
Contributor

I have noticed this too but it worked in the past.

I think v3.8.0 uses a new major image v4 version which causes this issue.

@YehudaKremer
Copy link
Owner

YehudaKremer commented Mar 11, 2023

Hello

Thank you for reporting this.

i tried to comparer images generated with version 3.7 and version 3.8, but i cant find any differences:
image

After checking the code i decided to remove padding from the icons as a fix for this problem: ad67250

I publish new version (3.9.0) with this fix,
please check this version icons when/if you publish your app to the store.

Thank you again ❤️

and sorry for the late reply (took me time to figure it out)

@Tienisto
Copy link
Contributor

Sadly, it didn't fix the problem.

I just tested this. And indeed, the icon in v3.7.0 was sharp. In v3.8.0 and v3.9.0 the icon seems pixelated.

If you need a reproducable app, then you can compile the msix from https://github.com/localsend/localsend

In the following screenshot, you can see the app icons when you open the start menu. The middle icon is based on v3.7.0, while the right icon is based on v3.9.0.

grafik

@YehudaKremer
Copy link
Owner

YehudaKremer commented Mar 12, 2023

Hello @Tienisto

My comparison between 3.7.0 and 3.8.0 was wrong ( I forgot to remove the caret symbol ^3.7.0 😅) .

So now I can see that with image v4.0 our code gives a pixelated icon,
to resolve it I added this line 2c98c2c#diff-ff7495e8d38f507e530a89e55ff8f5f01c0beb5f53ddca45b1311325420b892dR128 that I found in image repo issues: brendan-duncan/image#452 (comment)

I published a new version (3.9.1) with this fix, please see if it solves the pixelated icon problem.

Thank you for reporting, please keep me updated ❤️

@YehudaKremer YehudaKremer reopened this Mar 12, 2023
@Tienisto
Copy link
Contributor

Thank you! You can close this issue now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants