Skip to main content

Windows PE EXE icon extractor

Project description

icoextract

icoextract is an icon extractor for Windows PE files (.exe/.dll), written in Python. It also includes a thumbnailer script (exe-thumbnailer) for Linux desktops.

This project is inspired by extract-icon-py, icoutils, and others.

icoextract aims to be:

  • Lightweight
  • Portable (cross-platform)
  • Fast on large files

Installation

You can install the project via pip: pip3 install icoextract

On Linux, you can optionally install the thumbnailer by copying exe-thumbnailer.thumbnailer into /usr/local/share/thumbnailers/

Usage

icoextract ships icoextract and icolist scripts to extract and list icon resources in an executable:

usage: icoextract [-h] [-V] [-n NUM] [-v] input output

Windows PE EXE icon extractor.

positional arguments:
  input              input filename
  output             output filename

optional arguments:
  -h, --help         show this help message and exit
  -V, --version      show program's version number and exit
  -n NUM, --num NUM  index of icon to extract
  -v, --verbose      enables debug logging
usage: icolist [-h] [-V] [-v] input

Lists group icons present in a program.

positional arguments:
  input          input filename

optional arguments:
  -h, --help     show this help message and exit
  -V, --version  show program's version number and exit
  -v, --verbose  enables debug logging

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for icoextract, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size icoextract-0.1.1-py3.8.egg (13.3 kB) File type Egg Python version 3.8 Upload date Hashes View
Filename, size icoextract-0.1.1.tar.gz (6.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page