#file-extension #icons #png #gtk #macos #associated #format

systemicons

With this lib you can retrive the system icon which is associated to a certain file extension. The icon will be in the .png format. Windows, macOS and Linux (GTK) are supported.

20 releases

1.0.0-beta.1 Oct 9, 2024
0.9.13 Nov 12, 2024
0.9.10 Oct 30, 2024
0.7.0 Aug 2, 2023
0.4.0 Jul 13, 2021

#284 in Images

Download history 1/week @ 2024-09-11 129/week @ 2024-09-18 74/week @ 2024-09-25 22/week @ 2024-10-02 133/week @ 2024-10-09 121/week @ 2024-10-16 1125/week @ 2024-10-23 274/week @ 2024-10-30 383/week @ 2024-11-06 105/week @ 2024-11-13 14/week @ 2024-11-20 6/week @ 2024-11-27 55/week @ 2024-12-04 73/week @ 2024-12-11 8/week @ 2024-12-18 16/week @ 2024-12-25

156 downloads per month

MIT license

23KB
448 lines

systemicons

With this lib you can retrieve the system icon which is associated to a certain file extension. The icon will be in the .png format. Windows, macOS and Linux (GTK) are supported.


lib.rs:

systemicons

With this lib you can retrieve the system icon which is associated to a certain file extension. The icon will be in the .png format. Windows and Linux (GTK) are supported.

When you specify an absolute path to a .exe file, then the icon is loaded from resource, if the exe contains an icon resource.

Dependencies

~0–39MB
~614K SLoC