Image conversion guides

Extract a specific Windows icon size and check its transparency

·

An icon file can contain a small, simplified drawing alongside a larger illustration. Enlarging the smallest image will not recover details that exist only in the larger entry.

ICO Image Converter

Compare the directory entries

For a file containing 16 × 16 and 64 × 64 entries, select the smaller entry and export PNG. Choose the larger entry and export again. Each PNG keeps the selected entry’s dimensions. Look for intentional differences such as a thicker outline in the small drawing.

Microsoft — The format of the ICO file

Choose how the background appears

If a logo has transparent corners, save it as PNG to retain those pixels. For JPG select a background color first. Inspect the downloaded file on the background where it will actually appear.

W3C Portable Network Graphics specification

Choose the entry for the destination

A 16-pixel icon can be individually drawn for a toolbar while a 256-pixel entry contains more detailed artwork. Pick the 16-pixel entry to inspect what that toolbar actually received. Upscaling it does not recover the details of a larger embedded icon.

For a high-resolution placement, start again from the larger source entry. Inspect the downloaded alpha over the intended toolbar color, especially if the ICO contains bitmap entries with a transparency mask.

Common questions

What do PNG and DIB mean in the selector?

They identify how the icon entry stores its image. PNG entries contain a PNG stream. DIB entries use a Windows bitmap structure with icon-specific height and transparency information.

Does exporting to ICO copy the original directory?

The ICO writer builds a fresh six-size set from the chosen artwork. Keep the original file if you need its exact directory and alternate drawings.

Sources

Put it into practice.

Related guides