icoextract
Extract icons from Windows executables (.exe, .dll, .mun) into ICO files. tldr-pages
On several platforms
Several platforms
Extract the icons from an executable to an ICO file
icoextract path/to/input.exe path/to/output.icoIdentifyExtract a specific icon by its index
icoextract --num index path/to/input.exe path/to/output.icoIdentifyExtract an icon by its resource ID
icoextract --id resource_id path/to/input.exe path/to/output.icoIdentifyRun with verbose/debug logging
icoextract --verbose path/to/input.exe path/to/output.icoIdentifyDisplay help
icoextract --helpIdentifyDisplay version
icoextract --versionIdentify