Incorrect icon size when imported to exe

痴心易碎 提交于 2020-01-25 07:58:06

问题


EDIT: Solved, (at least for the explorer) the problem was it keeps the old thumbs.db.

I have a png icon and I've created a 128px, 96px, 64px, 32px, 16px icon using several tools. But the result is always the same.. when I compile the exe using that icon and resize to max icon size, it stays to something like 32-48px. Anyone got the same issue? Also when I put the executable on RocketDock, it also gets small icon. The executable has all icons, I checked it with Resource Hacker. It's a strange issue, I just wanted to make my app with big icon so it can be used in dock applications and on users that use bigger icon sizes.

Here's an example of what I'm talking about. The Visual Studio icon is there just for test.

And also a RocketDock screenshot containing a shortcut to the icon and to the executable:


回答1:


I've used Axialis Icon Workshop successfully before, and it's even recommended in this MSDN article. Not free but the trial version should be enough for one-off shots. I'm not perfectly sure it will solve your problem but it should.



来源:https://stackoverflow.com/questions/3740122/incorrect-icon-size-when-imported-to-exe

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