{"id":20296699,"url":"https://github.com/jlu5/icoextract","last_synced_at":"2025-04-07T11:01:16.483Z","repository":{"id":37499887,"uuid":"214952797","full_name":"jlu5/icoextract","owner":"jlu5","description":"Extract icons from Windows PE files (.exe/.dll)","archived":false,"fork":false,"pushed_at":"2025-03-02T23:31:19.000Z","size":109,"stargazers_count":122,"open_issues_count":1,"forks_count":8,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-31T10:00:49.428Z","etag":null,"topics":["extract","ico","icon","icons","windows"],"latest_commit_sha":null,"homepage":"https://projects.jlu5.com/icoextract.html","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jlu5.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-14T05:09:48.000Z","updated_at":"2025-03-08T00:14:00.000Z","dependencies_parsed_at":"2023-11-22T08:25:28.543Z","dependency_job_id":"d640f59b-fb6e-46db-8804-e36367f9672f","html_url":"https://github.com/jlu5/icoextract","commit_stats":{"total_commits":65,"total_committers":2,"mean_commits":32.5,"dds":0.01538461538461533,"last_synced_commit":"182c3b34befebb7b3e949e878fc2ab8631864f0b"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlu5%2Ficoextract","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlu5%2Ficoextract/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlu5%2Ficoextract/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jlu5%2Ficoextract/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jlu5","download_url":"https://codeload.github.com/jlu5/icoextract/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247640459,"owners_count":20971556,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["extract","ico","icon","icons","windows"],"created_at":"2024-11-14T15:40:25.843Z","updated_at":"2025-04-07T11:01:16.351Z","avatar_url":"https://github.com/jlu5.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# icoextract\n\n[![Build Status](https://drone.overdrivenetworks.com/api/badges/jlu5/icoextract/status.svg)](https://drone.overdrivenetworks.com/jlu5/icoextract)\n\n**icoextract** is an icon extractor for Windows PE files (.exe/.dll/.mun), written in Python. It also includes a thumbnailer script (`exe-thumbnailer`) for Linux desktops.\n\nThis project is inspired by [extract-icon-py](https://github.com/firodj/extract-icon-py), [icoutils](https://www.nongnu.org/icoutils/), and others.\n\nicoextract aims to be:\n\n- Lightweight\n- Portable (cross-platform)\n- Fast on large files\n\n## Installation\n\n### Installing from source\n\nYou can install the project via pip: `pip3 install icoextract[thumbnailer]`\n\nOn Linux, you can activate the thumbnailer by copying [`exe-thumbnailer.thumbnailer`](/exe-thumbnailer.thumbnailer) into the thumbnailers directory:\n\n- `/usr/local/share/thumbnailers/` if you installed `icoextract` globally\n- `~/.local/share/thumbnailers` if you installed `icoextract` for your user only\n\nThe thumbnailer should work with any file manager that implements the [Freedesktop Thumbnails Standard](https://specifications.freedesktop.org/thumbnail-spec/thumbnail-spec-latest.html): this includes Nautilus, Caja, Nemo, Thunar (when Tumbler is installed), and PCManFM. KDE / Dolphin uses a different architecture and is *not* supported here.\n\n### Distribution packages\n\nYou can install icoextract from any of these distribution repositories:\n\n[![Packaging status](https://repology.org/badge/vertical-allrepos/icoextract.svg)](https://repology.org/project/icoextract/versions)\n\n## Usage\n\nicoextract ships `icoextract` and `icolist` scripts to extract and list icon resources inside a file.\n\n**Note**: recent versions of Windows (Windows 10 1903+) have moved icons from system libraries (`shell32.dll`, etc.) into a new [`C:\\Windows\\SystemResources`](https://superuser.com/questions/1480268/) folder. icoextract can extract these `.mun` files natively, but the `.dll`s themselves no longer contain icons.\n\nFor API docs, see https://projects.jlu5.com/icoextract.html\n\n```\nusage: icoextract [-h] [-V] [-n NUM] [-v] input output\n\nWindows PE EXE icon extractor.\n\npositional arguments:\n  input              input filename (.exe/.dll/.mun)\n  output             output filename (.ico)\n\noptions:\n  -h, --help         show this help message and exit\n  -V, --version      show program's version number and exit\n  -n NUM, --num NUM  index of icon to extract\n  -v, --verbose      enables debug logging\n```\n\n```\nusage: icolist [-h] [-V] [-v] input\n\nLists group icons present in a program.\n\npositional arguments:\n  input          input filename\n\noptions:\n  -h, --help     show this help message and exit\n  -V, --version  show program's version number and exit\n  -v, --verbose  enables debug logging\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlu5%2Ficoextract","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjlu5%2Ficoextract","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjlu5%2Ficoextract/lists"}