Using predefined plug-ins is convenient, but you won’t always find exactly what you need, and if you have a little programming experience, writing your own plug-ins can be more fun anyway. After you have written the first three or four, you’ll find writing them easy. In this section, we present plug-ins written in the three main programming languages: Scheme, Python, and C.
Scripts written in Scheme are called Script-Fu. Take, for example, the script for Image: Colors > Map > Colormap. This script includes the function
script-fu-makecmap-array, which returns an array containing the colors for a specified palette. This function can be used in other scripts that need color palette information.
The function is written in ...