如何从Google的api获取更大的网站图标? [英] How to get larger favicon from Google's api?

查看:90
本文介绍了如何从Google的api获取更大的网站图标?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以从Google的api或其他地方获取更大版本的favicon?

Is it possible to get a larger version of the favicon from the Google's api or from somewhere else?

这是网址. http://www.google.com/s2/favicons?domain=google.com

我在ProgrammableWeb和Google上搜索了另一种api,但其中许多已经不存在了,我发现实际上似乎可行的那不是免费的. ( http://grabicon.com/)

I searched for an alternative api on ProgrammableWeb and Google but many of them don't exist anymore and the one I found that actually seems to work isn't free. (http://grabicon.com/)

我需要一个VB.NET项目的图标,该项目具有带有图标的网站列表.但是16x16的图标太小了.

I need the icon for a VB.NET project that has a list of websites with icons. But 16x16 icons are too small for that.

推荐答案

图标被指定为HTML页面的一部分,对页面请求的HTTP响应,或者仅通过默认位置托管.

Favicons are specified either as part of the HTML page, the HTTP response to a request for a page, or simply by being hosted at a default location.

所有网站都是如此.如果您不手动管理,有很多浏览器扩展程序可以帮助您确定页面发送的图标.例如,右键单击Firefox,页面信息",媒体",按类型排序"->图标"应显示浏览器可以找到的所有图标.图标的大小通常不超过32x32,并且google也不例外.

That's true for all sites. There's plenty of browser extensions that can help you figure out the favicons a page send, if you don't manage by hand. For example, right clicking in firefox, "Page Info", "Media", "sort by type"->"Icon" should show all icons that a browser can find. It's not usual to have Icons larger than 32x32, and google might not be an exception.

还请注意,.ico格式可以包含并非所有工具都可以显示的多个Icon大小.因此,将.ico保存在您的计算机上,并使用已知能处理单个文件中所有大小的工具对其进行检查可能会有所帮助.

Also be aware that the .ico format can contain multiple Icon sizes that not all tools show. So saving that .ico on your computer and inspecting it with a tool known to deal with all sizes contained in a single file might help.

最后的建议:您正在处理一家数十亿美元公司的徽标,徽标是其品牌的非常核心.您可能要检查他们在项目中使用该徽标的政策.可能还可以(例如,浏览器似乎不会因为在其Google搜索框上带有google徽标而遇到麻烦),但我仍然会注意不要给您带来与您自己的产品相关联的印象用他们的徽标制作.

Last word of advice: You're dealing with the logo, the very core of their brand, of a multi-billion dollar company. You might want to check with their policy of using that logo in your project. Probably it's OK (for example, browser don't seem to get in trouble for having a google logo for their google search box), but I'd still take care not to raise the impression that you're association a product of your own making with their logo.

这篇关于如何从Google的api获取更大的网站图标?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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