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
4
votes
1 answer

Can I use a custom logo for downloaded url files?

My site has an option to download a shortcut (.url) file onto the user's PC by clicking a link. The idea is that users then can save this to their desktop, and use it a shortcut to the site for future visits. (I know it's wacky, but it's what my…
Urbycoz
  • 7,247
  • 20
  • 70
  • 108
4
votes
2 answers

Favicon link does download instead of show

I have a favicon on my page, and when i go to the link for the favicon: mypage/favicon.ico It starts download, instead of just showing it as an online image (as every other site). I've searched everywhere for a solution, but got no answer. I want it…
Christian
  • 63
  • 8
4
votes
2 answers

Ico format - 32bit PNG vs 32bit BMP vs 24bit BMP

I'm releasing a .NET program, and am in the polishing up stage. I need to set the icon in the project properties. From my research, I would like to create images in the following pixel sizes to cater to all icon sizes: 16, 32, 48, 96, 256. I have…
Dan W
  • 3,520
  • 7
  • 42
  • 69
3
votes
1 answer

How can I extract a BMP from an ICO file?

I'm doing some work where I'm programmatically downloading icons from sites specified in an OpenSearch document and I need to extract the first image (for now) if it is in ICO format. I'm able to read the ICO file header with no problems and…
Andy E
  • 338,112
  • 86
  • 474
  • 445
3
votes
1 answer

How to set window's icon in Perl to some .ico file on Windows 7?

I was using TK::Icon with Perl 5.8.3 32bit, but it's not supported with Perl 5.10.1 64bit. When I try to install it through ppm, I get: C:>ppm install http://www.bribes.org/perl/ppm/Tk-Icon.ppd ppm install failed: The PPD does not provide code to…
Igor
  • 26,650
  • 27
  • 89
  • 114
3
votes
1 answer

.ico not displayed in IE? is there any way I can show ico file in IE?

Code: ico file is not diaplayed in IE. is there any way I can show ico file in IE
Jeba Prince
  • 1,669
  • 4
  • 22
  • 41
3
votes
1 answer

How to set icon(or .ico file) on executable file in linux system?

I've been trying to set icon on executable file(.exe) in linux and macOS. what I learn is there are 3 places icon sets: on taskbar, window bar, and executable file thumbnail. I have set on taskbar and window bar, but not on exe file. (By the way,…
Aroma L.
  • 31
  • 4
3
votes
1 answer

Not able to read images from ico File as width and height are coming as 0

I am trying to read an ico file which contains two ico images of bitcount = 8. I am aware of the ICONDIRENTRY format (https://msdn.microsoft.com/en-us/library/ms997538.aspx) and this code mostly works apart from few specific ico files.Below is my…
Somesh Dhal
  • 336
  • 2
  • 15
3
votes
2 answers

Multiple size/versions of an image in SVG

Is it possible to embed multiple images in SVG file to achieve similar effect like with ICO file? In case of ICO, the file contains several versions/sizes of an image, so the smaller ones can omit some details or have use ratios which may render the…
Wolfer
  • 558
  • 2
  • 5
  • 21
3
votes
0 answers

compression of ico image failing on iis 7.5

240.6 KB total in compressible text, target size = 238.2 KB - potential savings = 2.4 KB FAILED - (3.2 KB, compressed = 0.8 KB - savings of 2.4 KB) - https://www.domain.com/favicon.ico I have the following markup in the web.config, but it does not…
Moojjoo
  • 729
  • 1
  • 12
  • 33
3
votes
1 answer

Support for embedded PNGs in .ico files as a favicon in browsers

I'm currently trying to optimize the file sizes of the resources of a website. Favicons are usually relatively big for their small image data. While researching them I stumbled upon the fact that Windows supports embedding PNGs in .ico files…
johh
  • 141
  • 1
  • 5
3
votes
3 answers

Is it possible to store a .ico file in a vbscript?

I have a vbscript script that takes a .ico file and creates a desktop shortcut using it as its icon, but I want to be able to have everything the script needs stored in itself, if possible.
Crattik
  • 31
  • 1
  • 3
3
votes
2 answers

How does an OS pick up the correct ico/favicon size?

Based on this stackoverflow discussion, one can provide various sizes in a single file and the " OS will pick the best one to show." How does this work? Do we assign several of them where one declaration fallsback on the other?
ayjay
  • 1,272
  • 2
  • 16
  • 25
3
votes
1 answer

How to cache png,ico,jpeg

How can I cache the image on my website for 2 days with the htaccess so: 1 x 60 x 60 x 24 x 2 = 172800s So I want to cache 'png, jpeg, jpg, ico, js'. How can I do this with the htaccess
fdsugfh
  • 465
  • 5
  • 8
3
votes
4 answers

Ico won't display on tabs

Using converticon.com, I converted my icon png file into an ico file. I placed the following code in my head tags: I double checked and the file is in the appropriate location. The image has read and…
thank_you
  • 11,001
  • 19
  • 101
  • 185