在 Visual Studio c++ 中创建应用程序图标的最佳方法
在 Visual Studio 中,我可以以不同的分辨率和颜色深度绘制 13 个不同的应用程序图标。但我是否必须这样做,或者有没有一种方法可以自动从一个高分辨率图标生成所有低分辨率图标?
In Visual studio I can draw 13 different application-icons in different resolutions and color depths. But do I have to do this, or is there a way to automatically produce all low-res icons from one single hi-res icon?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
我发现这个 IcoFx 非常好,而且免费。
This one IcoFx I found is very good, and free.
为了获得最佳效果,您应该手动绘制每种不同尺寸的图标,以便它们在每种尺寸下看起来都很棒。您可能可以以 32 位颜色进行绘制,并将采样降低到较低的颜色深度,Windows XP 及更高版本将仅对应用程序图标使用 32 位版本。
这里有微软的一些官方指导:
http://msdn.microsoft.com /en-us/library/aa511280.aspx
如果可以的话,花钱请专业人士来绘制您的图标是非常值得的,它可以对您的应用程序“感觉”产生巨大的影响。对于单个图标,成本不应该太高(我们通常为每个图标支付 100-200 美元)。
For the best results you should draw your icons by hand at each of the different sizes so that they look great at each size. You can probably draw at 32-bit colour and down-sample to lower colour depths, Windows XP and above will only use the 32-bit version anyway for application icons.
There is some official guidance from MS here:
http://msdn.microsoft.com/en-us/library/aa511280.aspx
If you can, it is well worth paying for a professional to draw your icons, it can make a dramatic difference to how good your application "feels". For a single icon the cost should not be too prohibitive (we typically pay $100-$200 per icon).
最简单的方法是使用诸如 IcoFX 或 GenIconXP 从更高分辨率的图像为您完成此操作。如果您使用的是 VS2008,还有 IconWorkshopLite
The easiest way is to use a program such as IcoFX or GenIconXP to do it for you from a higher resolution image. If you're using VS2008 there's also IconWorkshopLite
一些图标编辑器可以为您做这件事,但是如果您带着一些温柔的爱和关怀手工完成,您会得到更好的结果(如果您省略较大图像的更精细的细节,而真正的小图标可能会看起来更好)专注于基本形状,这样它就不会变得一团糟)
VS 并不真正支持所有格式(PNG 压缩等)。我会使用“真正的”图标编辑器。 IcoFX 和 Greenfish 图标编辑器 都是免费的。
Some icon editors can do it for you, but you get a much better result if you do it by hand with some tender love and care (The real small icons will probably look better if you leave out the finer details of the larger images and instead focus on the basic shapes so it does not end up like a mess)
VS does not really support all formats (PNG compression etc). I would use a "real" icon editor. IcoFX and Greenfish Icon Editor are both free.
看看这个工具或类似的http://www.axisis.com/
take a look at this tools or similar http://www.axialis.com/