2

I'm deploying a WPF application using ClickOnce and the desktop icon is blurry. Does anybody have any information on how to fix this? The .ico is 32x32.

Image of icons: https://i.stack.imgur.com/WHD45.png

Original .ico file on the top left, right of that is the desktop shortcut created by ClickOnce, below that shows the titlebar, and on the bottom is the taskbar icon.

Edit: Okay, so first let me inform you, the original icon was not the correct dimensions and apparently just editing the .ico doesn't fix that for the solution. When I removed the .ico from the solution and added it back the quality improved slightly. I think the improvement wasn't as great as I'd hoped due to the lack of anti-aliasing on the icon? I'm not quite sure if this is possible, and I'm sorry for my ignorance as this isn't my strong suit, but is it possible to add anti-aliasing to the .ico on deployment?

Here is the image of the updated image: https://i.stack.imgur.com/kRiFR.png

Also, if this isn't possible is there maybe a technique in the creation of an icon that makes them look smoother?

Oxymoron
  • 1,380
  • 2
  • 19
  • 47
  • 1
    May I suggest that you get a nice 256x256 version of your original icon in .png format and then use an icon converter e.g http://convertico.com/ Then you have multiple icon sizes in the same .ico file and windows will choose the best instead of resizing. Also: http://msdn.microsoft.com/en-us/library/windows/desktop/aa511280.aspx – Dave Williams Jun 27 '13 at 12:57
  • 1
    Also I think the answer here says you need 256x256 http://stackoverflow.com/questions/3236115/which-icon-sizes-should-my-windows-applications-icon-include – Dave Williams Jun 27 '13 at 13:06
  • It does appear that having an icon at 256x256 does the trick. Thanks so much. I was trying to use clickonce as a keyword in my searches because I figured it had something to do with it. Thanks for pointing me in the right direction. – Oxymoron Jul 01 '13 at 19:54
  • @DaveWilliams Your answer was correct. If you could please submit the answer, which I will then accept as the valid answer. Thank you. – Oxymoron Sep 17 '13 at 16:00

1 Answers1

4

May I suggest that you get a nice 256x256 version of your original icon in .png format and then use an icon converter e.g http://convertico.com/ Then you have multiple icon sizes in the same .ico file and windows will choose the best instead of resizing.

Also see:

Microsoft on icon sizes

Similar question

Community
  • 1
  • 1
Dave Williams
  • 2,166
  • 19
  • 25