Reputation: 1452
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.sstatic.net/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.sstatic.net/kRiFR.png
Also, if this isn't possible is there maybe a technique in the creation of an icon that makes them look smoother?
Upvotes: 2
Views: 3196
Reputation: 2246
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:
Upvotes: 4