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

bin+lib 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.

9 releases (breaking)

new 1.0.0-beta.1 Oct 9, 2024
0.8.0 Sep 23, 2024
0.7.0 Aug 2, 2023
0.6.0 Jan 9, 2022
0.4.0 Jul 13, 2021

#244 in Images

Download history 9/week @ 2024-07-01 4/week @ 2024-09-02 4/week @ 2024-09-16 185/week @ 2024-09-23 35/week @ 2024-09-30

224 downloads per month

MIT license

3.5MB
428 lines

Contains (ELF exe/lib, 3.5MB) assets/daemon

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.

Breaking changes in crate version > 1.0.0

  • Using GTK 4 instead of GTK 3 on Linux

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.

Breaking changes in crate version > 1.0.0

  • Using GTK 4 instead of GTK 3 on Linux

Dependencies

~0–14MB
~205K SLoC