0

When I run my wpf application in debug mode, the icon on the taskbar looks fine (left image), but after I published and open the application, the icon looks pixelated (right image).

enter image description here

I've referred to this link and I set the icon image to 256x256, but still looks pixelated.

Please help.

Community
  • 1
  • 1
YWah
  • 571
  • 13
  • 38

1 Answers1

0

try using an ico editor to save the icon with all the correct resolutions (the OS will display the correct one). I use icofx, but there are many options if you google it - they should all correct your image proportions. Most should have an equivalent option to the 'save windows icon' (in icofx) where you select all the resolutions you want to add to the file.


Just another thought - is you icon a resource file? If so you may need to remove it then add it again and make sure the resource is set to publish correctly (so you are not using an old version).

Cadogi
  • 208
  • 1
  • 3
  • 16