Pillow icon indicating copy to clipboard operation
Pillow copied to clipboard

Loading icons from a DLL file?

Open DevilXD opened this issue 1 year ago • 10 comments

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.

DevilXD avatar May 28 '23 10:05 DevilXD