Questions tagged [ico]

ICO is an image file format (associated with ".ico" file extension) developed by Microsoft and designed for storing icons. It is widely used in Microsoft products, notably in Windows operating systems. From there it spread to other platforms and Internet. Use this tag if your question is related to this specific format. Do not use this tag for general questions about icons or concepts such as "favicon" if you don't plan to use ICO format for them.

Single ICO file can contain many images of different pixel sizes and color depths. The idea behind this is that software can pick most appropriate format without performing internal scaling, which from historical point of view had impact on performance and from the other point of view may give poor results when it comes to appearance. Scaling icon from high to small resolution, like 16x16 pixels, may require artist intervention or specialized software to keep icon sharp and readable.

225 questions
519
votes
9 answers

favicon.png vs favicon.ico - why should I use PNG instead of ICO?

Other than the fact that PNG is a more common image format, is there any technical reason to favor favicon.png vs. favicon.ico? I'm supporting modern browsers which all support PNG favorite icons.
Jon Galloway
  • 52,327
  • 25
  • 125
  • 193
285
votes
3 answers

Favicon: .ico or .png / correct tags?

In a HTML5 document, which favicon format do you recommend and why? I want it to be supported by IE7 and all the modern browsers. Also, when using .png, do I need to specify the type (type="image/png")?
Richard
  • 3,839
  • 5
  • 28
  • 34
55
votes
9 answers

WARNING Not Found: /favicon.ico in Django

I'm new to Python and Django. I'm seeing this error message after I perform runserver, when trying to log in from my landing page, $ python manage.py runserver Running in development mode. Running in development mode. Running in development…
henghonglee
  • 1,732
  • 3
  • 20
  • 29
35
votes
6 answers

Set favicon in django admin

I need to set up a favicon for django admin interface. It would be best to do it globally, without overriding templates for all apps. What is the cleanest way to do it? I tried searching Django documentation for this, but found nothing.
kurtgn
  • 8,140
  • 13
  • 55
  • 91
34
votes
3 answers

Ideal size for .ico

What is an ideal size for a .ico file, that would sit in the top corner of a window?
joe
32
votes
3 answers

Make several PNGs into one ICO file

With Windows ICO files, you can pack several different sized images into the same ICO file - Windows then picks different sizes based on what it needs. (see here for info about icon sizes) There are lots of free online tools that take a singe image…
codeulike
  • 22,514
  • 29
  • 120
  • 167
30
votes
4 answers

Add icon to existing EXE file from the command line

Is there a command line tool that can add an icon to an existing executable file? It should be able to set the icon as the file's "main" icon that is shown in Explorer. I don't have Visual Studio and cannot recompile the exe with custom resources…
Tomas Andrle
  • 13,132
  • 15
  • 75
  • 92
28
votes
5 answers

Inno Setup: Control panel icon does not show

I have an Inno Setup project. Everything is fine, but I do not see the application icon in the "Programs and Features" control panel area. I do see the icon everywhere else. The script file does have the…
Sarah Weinberger
  • 15,041
  • 25
  • 83
  • 130
24
votes
2 answers

Display an .ico within an image element

I'm trying to display an .ico within an image element but in Internet Explorer it does not work/show. This is my code: Does anybody how to make it show up in all browsers?
jonatanes
  • 1,837
  • 3
  • 16
  • 13
22
votes
1 answer

Mobile Favicons

So I'm doing some research regarding mobile site user experience and stumbled upon the fact of the whole favicon.ico being completely outdated and all. Looking around I've gathered that I require various new sets of images/icons to actually present…
Rafaël De Jongh
  • 898
  • 2
  • 14
  • 32
17
votes
4 answers

How to get favicon.ico from a website using Java?

So I'm making an application to store shortcuts to all the user's favorite applications, acting kind of like a hub. I can have support for actual files and I have a .lnk parser for shortcuts. I thought it would be pretty good for the application to…
mattbdean
  • 2,532
  • 5
  • 26
  • 58
15
votes
1 answer

JavaFX. Set different icons for the title bar and the operating system task bar

Is there a way in JavaFX to set different application icons for the title bar and for the operating system task bar? The problem is that the icon shown in the system task bar is much bigger compare to the icon in the title bar and they cannot be…
Dime
  • 2,041
  • 3
  • 23
  • 29
13
votes
1 answer

Spring mvc:resource not finding *.ico files

I have had a really hard time getting my Spring 3.0 application to recognize favicon.ico type files as a resource. I have defined my resource directory in my spring-context.xml file as follows:
Roosh
  • 651
  • 1
  • 8
  • 16
11
votes
2 answers

Images are not sharp in selected TabItem

I have a TabControl. The header of each TabItem contains a StackPanel with an icon and a Label.
Matthias
  • 113
  • 7
11
votes
5 answers

Writing ico files java

Recently i have become interested in creating .ico file or windows icon files in java. This is the current code i use. I have gotten the file format specs from here http://en.wikipedia.org/wiki/ICO_%28file_format%29 BufferedImage img = new…
Popgalop
  • 737
  • 2
  • 9
  • 26
1
2 3
14 15