Expand description
The library’s own icon, icon.png in the library root. Eagle shows it
next to the library name in the library switcher.
Constants§
- ICON_
FILE - The icon’s file name inside the library folder.
Functions§
- icon_
path - The icon file, when the library has one.
- remove_
icon - Deletes the icon; nothing happens when there is none.
- set_
icon - Makes
source(jpg, jpeg, png, webp or gif, first frame) the library’s icon: scaled uniformly so the shorter side is 64 px, saved as PNG. The file is written next toicon.pngand renamed over it, so a failure leaves the old icon alone.