Loading icons from a DLL file?

Offen
#7,191 12 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
48/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Ruhig
Tech-Stack
python

Rechercherichtung

No file or test is named in the issue. Start by reviewing Pillow's existing image-loading entry points and any Windows-specific handling, then determine how a selected icon in a DLL could be represented. Done means the supported DLL/icon cases are defined and a selected native icon can be loaded as a Pillow image with tests.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Enhancement Windows

Windows defines some native icons bundled in DLL files. I'm talking about these specifically: https://www.digitalcitizen.life/where-find-most-windows-10s-native-icons/

Is there a way in Pillow to open/load a selected icon from one of these files? I can't find anything specific to it being possible, and obviously loading the DLL file directly doesn't work (PIL.UnidentifiedImageError). If not, it'd be cool to add some support for it.

Vorherrschende Sprache
Python
Sterne
14k
Forks
2.6k
Ø Merge
1 T. 1 Std.
Gemergte PRs (30 T.)
205

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus python-pillow/Pillow

Alle Issues in python-pillow/Pillow

Ähnliche Issues

Weitere Issues zu Python

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.