导入到exe时图标大小不正确 [英] Incorrect icon size when imported to exe

查看:162
本文介绍了导入到exe时图标大小不正确的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

编辑:解决了,(至少对于探险家来说)问题在于它保留了旧的thumbs.db。

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

我有一个png图标,我已创建使用多种工具的128px,96px,64px,32px,16px图标。但结果总是一样..当我使用该图标编译exe并调整大小到最大图标大小时,它会保持32-48px。有人有同样的问题吗?此外,当我将可执行文件放在RocketDock上时,它也会获得小图标。可执行文件包含所有图标,我使用Resource Hacker进行了检查。这是一个奇怪的问题,我只是想用大图标制作我的应用程序,以便它可以用于停靠应用程序和使用更大图标大小的用户。

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.

这是一个例子我在说什么Visual Studio图标仅用于测试。

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

还有一个RocketDock截图,其中包含图标和可执行文件的快捷方式:

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

< img src =https://i.stack.imgur.com/mkoYk.pngalt =alt text>

推荐答案

之前我成功使用过 Axialis Icon Workshop ,甚至建议 MSDN文章。不是免费的,但试用版应该足够一次性拍摄。我不完全确定它会解决你的问题,但它应该。

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.

这篇关于导入到exe时图标大小不正确的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆