2. Install the GimpλLib - AlSchemist/GimpLambdaLib GitHub Wiki
🟩 Gimp Lambda Library scripts *.scm
As a result, unzip the GimpLambdaLib.zip archive wherever you want.
Then copy the *.scm
scripts to the user’s Gimp scripts folder
C:\Users\YourUserName\AppData\Roaming\GIMP\2.10\scripts
First, in the above path replace “YourUserName” with your user name on Windows 10.
More precisely, the installation is à la carte. If you move a .scm
elsewhere, in this case the Script-Fu console will not load the moved .scm
🟩 Gimp Lambda Lib’s architecture
The reason for which you must keep at least 0srfi-030-comment.scm
is that its module implements block comments. Otherwise the other .scm
will cause syntax errors for each block comment. This is why this source file is said to be of zero rank. So its name begins with “0“. Thus it is located at the top of the source files according to ascending alphabetical sorting.
Finally, the only source file of rank three is 3srfi-006-string-port.scm
. Commented at 84.6%, it essentially documents the string-port natively available in Script-Fu. You can move this .scm
elsewhere. Because it only provides the demonstration of compatibility with the SRFI-6. See the notion of SRFI in the next chapters.
The loading time of Gimp and its Script-Fu console is slightly increased by five seconds for loading .scm
scripts.
After modifying a scm script, it is not useful to close Gimp to reopen it because it takes a long time. You can only close the Script-Fu console. Then reopen the console to take into account the modifications of the script. The script should have been saved on the hard disk by Ctrl+S in the Notepad++ text editor.
If you want to uninstall this library, move the λLib scripts .scm
elsewhere than the user’s scripts folder or delete them.
Since the λLib does not modify neither the GUI1 user interface of Gimp nor the PDB2, there are no other impacts to Gimp than the addition or the removal of .scm interpreted when Gimp is starting. The λLib never invokes script-fu-register.
1: GUI : Graphical User Interface
2: PDB: Procedure DataBase