Bert Johnson » Blog »

Announcing ExtractIcon for Windows

I’ve released a simple open source project called ExtractIcon.

Like its name implies, ExtractIcon extracts the highest-resolution icon for any Windows file and saves it as a PNG. This works for either embedded icons (as found in executables) or associated file handlers (e.g., for PDFs, DOCX files, or SLN files).

I’ve used this code for years in the batch processing of files. It’s packaged as a standalone EXE and the source code is available in C#.