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

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.

16 unstable releases (7 breaking)

1.0.0-beta.1 Oct 9, 2024
0.9.10 Oct 30, 2024
0.8.0 Sep 23, 2024
0.7.0 Aug 2, 2023
0.4.0 Jul 13, 2021

#265 in Images

Download history 4/week @ 2024-09-02 4/week @ 2024-09-16 185/week @ 2024-09-23 35/week @ 2024-09-30 116/week @ 2024-10-07 54/week @ 2024-10-14 1168/week @ 2024-10-21

1,388 downloads per month

MIT license

23KB
445 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