#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

#197 in Images

Download history 4/week @ 2024-08-30 2/week @ 2024-09-13 159/week @ 2024-09-20 56/week @ 2024-09-27 100/week @ 2024-10-04 67/week @ 2024-10-11 923/week @ 2024-10-18 514/week @ 2024-10-25 250/week @ 2024-11-01 228/week @ 2024-11-08

1,921 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
~617K SLoC