Windows 7的图标大小的问题 [英] Windows 7 icon sizing problems

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

问题描述

我试图创建一个应用程序图标。我带着一帮创建的* .ico文件中(每个大小),结合成一个单一的* .ico文件。我可以看到他们都很好。我有16×16,32×32,48×48×64和128×128的图标(所有32位瓦特/透明度)。

I'm trying to create an application icon. I took a bunch of created *.ico files (one for each size) and combined them into a single *.ico file. I can see them all fine. I have 16x16, 32x32, 48x48, 64x64, and 128x128 icons (all 32bit w/ transparency).

然而,当我建立我的应用程序(一个标准的Windows窗体应用程序编写在C#),并期待在Windows资源管理器的图标,它看起来在最初的几个尺寸的罚款(最高达48×48,我认为......中),但如果我用大或特大Windows显示模式资源管理器中,我只看到在越来越大盒48×48(我认为)图标。

However, when I build my app (a standard Windows Forms app written in C#) and look at the icon in Windows explorer, it looks fine at the first few sizes (up to 48x48 I think.. "Medium"), but if I use the "Large" or "Extra Large" display modes in Windows Explorer, I just see the 48x48 (I think) icon in an ever larger box.

我怎样才能获得Windows资源管理器来识别更大的图标?我究竟做错了什么?有没有人见过这个问题,并指出我在正确的方向呢?我假设有与* .ico文件的构建方式,还是格式的问题...但我找不到任何地方的任何线索。

How can I get Windows Explorer to recognize the larger icons? What am I doing wrong? Has anyone seen this issue before, and point me in the correct direction? I'm assuming there's a problem with the way the *.ico file is built, or the formats... but I can't find any hints anywhere.

推荐答案

据我了解,一旦你超过一定规模的(它可能是48×48),浏览器会去寻找一个256x256的图标,缩放到所需大小。

As far as I understand it, once you get above a certain size (and it may well be 48x48), Explorer will go looking for a 256x256 icon, and scale it to the desired size.

128×128不是一个标准的图标大小,Explorer可能懒得寻找它。您可以在高达256x256的资源管理器(额外大图标)显示的图标,但您可以在两者之间做大小。如果您调整您的图标,比方说,192x192,那么它会更好看拿一个大的图像和规模下来,而不是采取小的形象和扩大它 - 那么你最好还是加入了256x256的图像反正,而不是128×128。

128x128 is not a standard icon size, and Explorer may not bother looking for it. You can show icons at up to 256x256 in Explorer ("Extra Large icons"), though you can do sizes in between. If you size your icons to, say, 192x192, then it's going to look better to take a large image and scale it down, rather than to take a small image and scale it up -- so you're better off adding a 256x256 image anyway, rather than a 128x128.

这篇关于Windows 7的图标大小的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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