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

Making a .ico file using gd and php

Does anyone know how to make a .ico file that will work in Intenet explorer? I can't seem to get anywhere here is my gd code $im = imagecreatefromjpeg(FAVICONDIR.'normal/'.$filename ); list($width, $height) =…
Richard Housham
  • 864
  • 2
  • 15
  • 34
0
votes
4 answers

How to detect if *.ico file is a valid icon in PHP

I would like to test if *.ico images are valid icons in PHP. I tried to use getimagesize function but it doesn't support ICO files.
chubbyk
  • 6,212
  • 13
  • 53
  • 67
0
votes
2 answers

Do Web Browsers Download the Entire .ICO File If It Contains Multiple Resolutions?

I have an .ico file that contains every resolution from 16px to 256px. I have another version of the same .ico file with just 16px and 32px resolutions. My second file is much smaller than the first. Do modern web browsers download the entire .ico…
Lloyd Banks
  • 35,740
  • 58
  • 156
  • 248
0
votes
0 answers

Deleted ico and recreated with different data, icon cache wont update

I have a ico on my desktop named rawr.ico. I opened the desktop folder in file explorer: I atomically overwrite this file with new ico data. I use this algorithm:…
Noitidart
  • 35,443
  • 37
  • 154
  • 323
0
votes
1 answer

How to reduce ico container size?

Icon sets keep coming out huge, is this standard? The files within the ico container are very small. Is there anything I can do to reduce the file size of the icon set? icoconvert.com -- multi-image to one icon, 6 very small files, ico came out to…
0
votes
2 answers

Issues with the Program icon

I'am trying to change my program Icon for 3 hours right now now I cant fix some issues. Look at the screens please.
Kenion
  • 105
  • 1
  • 10
0
votes
1 answer

Reading .ICO file in Java

I'm trying to load an ICO file but I seem to get weird values in the image data size and image data offset value causing an ArrayOutOfBoundsException. Any help is appreciated. I tried Little/Big endian but no success. I found the info for the ICO…
MicroHat11
  • 227
  • 3
  • 12
0
votes
1 answer

Why do people use this G as a favicon?

I have seen many websites, such as http://www.technoblip.com, using this image as their favicon.ico. It is like a white capital G in a black circle as shown in the image. What is this from? Is there any special meaning of this favicon?
learner
  • 307
  • 1
  • 2
  • 12
0
votes
0 answers

Why do I always have to rewrite .iconbitmap() command in order for it to work?

I am using Tkinter to make a GUI application and am using the .iconbitmap() to specify my own .ico file instead of Tkinter's default. I am using Spyder. import Tkinter as Tk #program root = tk.Tk() root.iconbitmap(r'c:\Users\Kelin\Documents\Python…
Kelin KO
  • 1
  • 2
0
votes
2 answers

Winrar SFX command line ignoring -iicon switch

I am trying to create a winrar self-extracting archive with a custom icon on the command line. It is all going well so far, except the custom icon is not working. Whenever I build the archive the icon used is the default winrar icon. If I create the…
Raiden616
  • 1,545
  • 3
  • 18
  • 42
0
votes
1 answer

Launch4j Icon Image Quality

I am currently using Launch4j to convert my JAR files to EXEs. While I was doing this, I added an image icon (ico). Now when I compile the program and the EXE is made, the icon image quality isn't great. But then if I rename the file, the quality is…
Graysull
  • 109
  • 2
  • 8
0
votes
1 answer

How to read (through stream) project icon data?

When you click RMB on project, go to properties, you can set icon&manifest for the project. In the project code I would like to open a stream to read that icon data. How to do this? I don't want to adding that icon again manually in resources,…
greenoldman
  • 16,895
  • 26
  • 119
  • 185
0
votes
0 answers

Java Image4j: method not return when decoding ico image

I'm trying to use image4j 0.7 library to decode .ico file. My code is here: //File address String sourceAddress="/home/tojandro/Desktop/favicon.ico"; //Read data InputStream inputStream=new FileInputStream(sourceAddress); …
0
votes
1 answer

png2ico exporting ICO in lower quality than the original PNGs

I have 6 PNG files that I want to bundle into one ICO file. I'd like to use something like png2ico instead of a web app like ConvertICO.org's web app. When the ICO is produced using png2ico, the quality of the ICO seems to have dropped. Below are…
Jonathan
  • 135
  • 2
  • 8
0
votes
1 answer

How to make a browser icon using PHP?

I'm aware that doing so in HTML is as simple as this: However, I have a PHP site, in which: DirectoryIndex index.php to direct the user directly to the main page. I can't seem to find a way to get a browser…
Aric Leather
  • 7
  • 1
  • 2