Anonymous
on March 1st 2012
Thanks for this article, it helped get a better understanding of the formats required. Regards, Luojie
![]() | What is a Windows XP icon?August 8th 2005 |
This article answers basic questions about icons. How do icons differ from images? What's the structure of an icon? How are icons distributed? What's the difference between Windows XP icons and older icons?
To understand this article you should already know basic terms related to computer imaging, namely pixel, image resolution, color depth, and image file format.
A computer icon is a graphical symbol that represents a property, function, or entity. In computer applications, icons are used to quickly execute commands or open programs and documents. You access the functionality behind an icon by clicking or double-clicking it. Operating systems often allow you to customize visuals of various objects by applying your own custom icons.
You may obtain icons from various sources (for example from our icon library) or you can build your own. If you choose to pursue the more difficult but more rewarding path (creating your own icons), you will need to know more than what was already said. In this introduction to Windows XP icons, you will learn:
Icons are often compared to images. This comparison is not entirely fair. It is like comparing shoes to leather. Shoes may indeed be made of leather. Shoes may be considered a specialization of leather with some added bells and whistles. But then there are shoes that are not made of leather... An icon (graphical symbol) can easily be represented by an image. But this could, and probably would change. In future version of your operating system, icons may be using animations or even 3D models. Icons would still be graphical symbols, but not images anymore. For now, let's get back to year 2005, where icons and images are closest friends.
A computer image is a raster (composed of pixels) or vector (composed of lines, rectangles, circles, etc.) picture. It may have arbitrary size, resolution and color depth. It is stored using one of the standard formats (BMP, PNG, GIF, JPEG, TIFF, ...).
Icon is composed of arbitrary number of images. This is because icon must be usable under wide variety of conditions. Icon should look good on high-resolution LCD as well as on a ten years old monochromatic monitor. There are multiple images inside an icon, each optimized for best experience under specific circumstances.
Images usually have rectangular shape, icons on the other hand do not. When you put an icon on your desktop, it appears to have arbitrary shape and you can see background around that shape. Internally, the icon still has a rectangular shape, just like an image. But icons always support per-pixel transparency, which means that any pixel can be marked either transparent or opaque.
transparent pixels 
When a pixel is transparent, background is displayed on that spot.
Transparent pixels are usually represented using chessboard pattern in icon editors.
We have already mentioned in previous paragraph, that an icon is composed of several images. They have different sizes (or resolutions) and color depths. Windows defines standard sizes (16x16, 32x32, 48x48) and standard color depths (16 colors, 256 colors, 16.8M colors), that should be present in any general-purpose icon.
Formats in Windows XP 'My Music' icon
![]() | ![]() | ![]() |
| 16 colors | 256 colors | 16M colors + alpha (XP) |
It is very important to create several image formats in an icon (especially if you whish to redistribute it) in order to be compatible with all screen configurations.
Image sizes:
Color depths:
If an image format is missing, Windows displays the nearest existing image. It works but quality suffers.
There is a standard file format for icons in Windows. Icon files always have .ICO extension. A file in this format holds all icon images. Microsoft also recommends how the images should be ordered inside an icon.
Icons can also be embedded inside an application (.EXE), application extension (.DLL), or other executable file. This option is used quite often by application developers. Icon editors are usually able to extract icons from applications.
There is one more file format related to icons. It is called Icon Library (.ICL) and its sole purpose is to have multiple icons in one file. The value of this format is questionable, because anyone can get similar or better results by zipping icons or putting them into an ordinary file-system folder.
There actually were no changes to the icon format when Windows XP was released. Windows XP is just able to make use of a high quality image format in an icon. In this format, each pixel has one of 16M colors and one of 256 levels of transparency. That means a pixel is no longer either opaque or transparent. Now it can be semi-transparent. The transparency level is called alpha channel.
Thanks to alpha channel, icon can have shadows and smooth edges.
![]() | ![]() |
| Icon with standard transparency. You can easily recognize icon from background. | Icon with full (256 levels) of alpha channel in Win XP. Edges are smoothly blended with background. Shadow effect is created by blending background with black color. |
This article explained:
To practice your new knowledge, open an icon in RealWorld Icon Editor. Try making changes to it and watch Windows reacting to them.
Anonymous
on March 1st 2012
Thanks for this article, it helped get a better understanding of the formats required. Regards, Luojie
Anonymous
on March 3rd 2012
Hey peoples, Windows icons are saved in .dll's these are libraries of thousands of .ico icons.
make a copy of the .dll library you want. These are usually found in C:\Windows\System32
Make a folder somewhere where you want to work. paste the dll in the folder and rename it to .zip. That's right it is essentially a zip file full of .ico files. When I mean full i mean thousands! All of various sizes and shapes.
If you want to rasterize one first or use direct or indirect with rocket dock you can open the .ico in GIMP and save it as a .PNG but in the case of this tutorial posted online I think most of you will want to go the other way from .png to .ico 
However if you want to save an icon from somewhere and you cannot right click 'save as' or what ever, you can do a nasty thing like take a screen shot (print screen) and then crop it in paint, save as PNG, then open in GIMP and then select by colour or select by fuzzy-select and then remove certain attributes or (junk you don't want) and then clean it up and save it as either a .ico file or .PNG?
As my father would say 'Son there's many ways to skin a cat'
(nb. To all now offended 'cat-lovers' usage in the line above is communicated as a metaphor and has no direct relation to what is actually said)
James
Anonymous
on March 5th 2012
cual es el icono de informacio
Anonymous
on April 15th 2012
:-( iwanto
Anonymous
on June 15th 2012
TNX FOR THE ARTICLE . it helps a LOT !!!!!!!!
:-) 
Anonymous
on August 14th 2012
tnx a lot
:-D
Anonymous
on September 1st 2012
Ty
Anonymous
on November 22nd 2012
thanks for the article.. now i know what is icon of windows xp 
Anonymous
on February 14th
Cool XD
Anonymous
on April 15th
awsome 
Anonymous
Find out how Vista icons differ from XP icons.
See how RealWorld Icon Editor handles Vista icons.
