Windows 10 and 11 icons resources

Sébastien B 96 Reputation points
2021-11-19T11:18:46.167+00:00

Hello,

I'm creating a Windows 10/11 app (packaged Win32).
After generating all the icons resources files with all sizes and scales, it renders correctly in the start menu and taskbar.
All my images are with transparent background.

The AppxManifest specifies BackgroundColor = "transparent"


<uap:VisualElements
DisplayName="PageFabric"
Description="PageFabric"
BackgroundColor="transparent"
Square150x150Logo="Assets\Square150x150Logo.png"
Square44x44Logo="Assets\Square44x44Logo.png">
<uap:DefaultTile Wide310x150Logo="Assets\Wide310x150Logo.png"
Square310x310Logo="Assets\LargeTile.png"
Square71x71Logo="Assets\SmallTile.png">
<uap:ShowNameOnTiles>
<uap:ShowOn Tile="square150x150Logo" />
<uap:ShowOn Tile="wide310x150Logo" />
<uap:ShowOn Tile="square310x310Logo" />
</uap:ShowNameOnTiles>
</uap:DefaultTile>


When I add a shortcut on the desktop icon is rendered with a blue square background.
Which format or scale is supposed to be used for desktop shortcuts?

Thank you in advance for your help.

Config in VS:
151015-gen1.png

Render in the Windows 11 start menu
150935-startm2.png

Render of the desktop shortcut
151021-desktop.png

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
36,151 questions
{count} votes

1 additional answer

Sort by: Most helpful
  1. Limitless Technology 39,371 Reputation points
    2021-11-22T08:21:42.113+00:00

    Hi there,

    Icons have a maximum size of 256x256 pixels, making them suitable for high-dpi (dots per inch) displays. These high-resolution icons allow for high visual quality in list views with large icons.

    All sizes need relevant level of detail; the smaller the icon the more you need to exaggerate the defining details.

    You can get more info regarding this from here https://learn.microsoft.com/en-us/windows/win32/uxguide/vis-icons

    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept it as an answer--