What is ICO File Format

 

recover-deleted-ico

The .ICO file format is an image file format that contains a computer icon for Windows. An .ICO file can contain multiple images, each with different values of color and depth. The Windows programs extract the correct color and depth values according to the context.

In addition, icons can be stored in DLL and EXE files. The structure of icons stored in these file formats differ very little from the .ICO file format structure.

Windows considers four icon sizes, as the system itself considers small and large icons, and the shell also considers small and large sizes. Thus, the four sizes are named: system small, system large, shell small and shell large.

The system small size depends on the caption size. The system large size is given by the video driver. The shell small size is defined by Windows. The shell large size is stored in the registry under the following key: HKEY_CURRENT_USER\Control Panel\desktop\WindowMetrics\Shell Icon Size. The sizes of the system large and of the shell small cannot be changed by the user. Windows doesn’t put any restriction on the size of an icon. However, common sizes are 16, 32 and 48 pixels square.

An .ICO file stores the icon resources in a directory structure. Once in memory, an .ICO file has the same structure as an icon in a DLL or EXE file.

The .ICO file structure consist of a fixed header that contains information on the amount of images included, and information about each image, including width, size, color count and more. The header is followed by a block containing all the image bitmap data in a contiguous manner.

A color .ICO file differs from a monochrome one in that the image bitmap is in color. Besides, the height size is double, because it includes a mask. Supported color formats are 4bpp, 8bpp, 16bpp and ORGB 32bpp.

The MIME type used by Microsoft for .ICO files is image/x-icon. There MIME type image/vnd.microsoft.com was created by a third party and is not officially recognized by Microsoft.

The CUR file format is very similar to the .ICO file format, but is used for non-animated cursors.

How to Open ICO Files

There are many programs that can open an ICO file, such as Microsoft Paint, Microsoft Movie Maker, etc.  There are also many icon-authoring tools available on the market.

What is the Digital Signature of an ICO File

Hexadecimal: 00 00 01 00

How to Recover Deleted ICO Files

Fortunately, not all .ICO file deletions are permanent. In many cases, the deletion only means the removal of a reference to the content. The data remains intact until overwritten by a new file.

This is the principle behind Disk Drill, a data recovery application developed by Cleverfiles. This program uses powerful algorithms to repair and rebuild .ICO files.

Disk Drill supports ICO recovery from many digital devices, including internal and external hard drives, USB based drives, memory cards and more. It also allows you to recover ICO files from image files.

An image file is a bit-by-bit copy of a digital device. As such, it contains all data existing on the original drive, including deletions. For this reason, image files are used in Digital Forensics, as the analyst can work on the image copy, keeping the source intact.

Disk Drill has versions for Windows and Mac computers. It is available for free!

Download Disk Drill data recovery app for Windows  for Mac

Steps for Recovering ICO Files Successfully

Once you have downloaded the installer, you can recover ICO files by following these steps below:

Step 1: Install Disk Drill by clicking on the installer’s icon. The program will present you with a set of easy steps. Just follow the given instructions.

Step 2: Open Disk Drill by clicking on the app’s icon. The app will detect all connected digital devices. Select the one that contains your .ICO files.

You can also attach an image file. The ICO recovery process works the same way as with digital devices.

Step 3: Narrow the search by selecting the .ICO file extension from the “Preferences” menu. This will result in a faster ICO recovery.

Step 4: Start the scan. You can pause or cancel the process at any time. You can also save the ICO recovery session, and continue later on, without any loss of the work already done. This option is very practical, as when scanning devices of large sizes, the ICO file recovery may need several hours.

Step 5: Once the scan is done, Disk Drill presents the results in a list. This list can be narrowed down by using the available filters by date or size.

In the case that the program could not find the original filename, but it was able to repair and reconstruct a file, Disk Drill assigns a generic name, such as file001.ico.

Step 6: Select the .ICO file(s) that you need, and retrieve it (them) to a folder of your choice.

Congratulations, you have recovered your .ICO file(s)!

recover-deleted-ico

About the ICO file format and ICO files recovery updated: September 19, 2017 author: corvettus

Still have questions?  Contact us  or visit our  Public forum