How to create a high quality icon for my Windows application?

梦想与她 提交于 2019-12-02 17:03:19

Thanks for all the suggestions!

After much trial and error the real problem here seems to be the Visual Studio 2008 Setup Project - manually setting up a link to my executable correctly uses the high resolution icon, however the link that is created by the setup doesn't use the correct icon. When setting the icon for the link in the editor it only gives me one option (index 0) which seems to be the 48x48 icon. I have tried manually adjusting the IconIndex in the .vdproj but had no luck. It seems that Visual Studio Setup Project does not support adding a link using a high quality icon.

EDIT: I can now confirm this problem. Once I moved to WiX to create the installer the link used the correct high quality icon.

Try enlarging your icons (Ctrl+MouseWheelUp) to a massive size and see if Windows picks up the larger icon, this will work even on standard DPI screen. (I use really really really large icons myself).

If using massive icons still only displays the lower resolution one, then it's a problem with the ICO file. Our graphic designer outputs icons containing 256, 64, 48, 32, 24 and 16 pixel sizes, each in True Color, 256 color and 16 color and that's working fine here on Win7 x64

easiest way is to open a copy of one of those ms .ico files in gimp, and replace those 72dpi pics with yours and scale them for each layer in the .ico file.

The attached screenshot is the windows media player icon oped up in GIMP

It depends on your display DPI. See the Windows User Experience Interaction Guidelines Icons size recommendations.

I converted my .ico to a .png and then back to an ico on this site, and it seems to have worked: http://convertico.com/

Looks like it added 48x48 and 64x64.

I used Gimp. Export as the image as ".ico"

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!