网站图标创建
我想创建一个在主要浏览器(包括 IE7)显示时看起来最好的图标,但文件大小尽可能最小。对于所涉及的每张图像来说,什么尺寸和颜色深度最合适?
我刚刚创建了一个新图标,其中包含以下图像。
16x16 位(8 位颜色)
32x32 位(8 位颜色)
我是否应该为桌面快捷方式、Win7 任务栏固定或浏览器或操作系统的任何其他用途创建任何其他图像?
注意:这与您可以用来创建网站图标的任何软件无关
I want to create an favicon that looks the best it can when displayed by the main browsers (including IE7) but has the smallest file size possible. What size and colour depth is best for each image involved?
I have just created a new icon with the following images within it.
16x16 bit (8 bit colour)
32x32 bit (8 bit colour)
Should I create any other images for either desktop shortcuts, Win7 taskbar pinning or any other use a browser or OS makes of it?
Note: This is not to do with whatever software you can use to create favicons
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果你想让所有浏览器都支持它,它必须是一个图标文件,.ico文件扩展名。
如果您担心大小,我假设人们通过缓慢的连接访问您的网站。如果您将名为 favicon.ico 的文件放在根目录中并且不包含 html 链接标记,它将在站点的其余部分之后加载,因此您可以轻松地包含 32x32 和 16x16 版本,我相信一个文件。
您应该阅读此网站,
和此网站。
If you want all browsers to support it, it must be an icon file, .ico file extension.
If you're concerned about size i assume people are hitting your site over a slow connection. If you put the file, named favicon.ico, in your root directory and do NOT include an html link tag to it, it will be loaded AFTER the rest of your site, so then you can comfortably include both a 32x32 and 16x16 version, I believe in one file.
You should read this site,
and this site.
只需坚持 16x16 分辨率即可。
just stick to 16x16 resolution.