CHAPTER 11 (Web hosting resellers) PLUG-INS AND SCRIPTING 423 You
CHAPTER 11 PLUG-INS AND SCRIPTING 423 You can easily tell whether you have gimp-python enabled: check for a Python menu in the Toolbox under Xtns. If you re just learning scripting and you have gimp-python installed, it s well worth trying it out. Perl Perl is a well established and popular scripting language, commonly used on web servers and for system administration. Perl used to come standard with GIMP, at least on UNIX systems. But somewhere along the line, it became less popular for GIMP scripting, and today it s not included as part of the standard GIMP package. You can see whether you have gimp-perl installed by looking for a Perl or Perl-Fu menu under Xtns. It s still possible to install gimp-perl as a separate package (look for it at gimp.org), and there are still plenty of gimp-perl scripts in the Plug-In Registry. If you re familiar with the Perl language and prefer it to Python or Scheme, then there s no reason not to use Perl as your introduction to GIMP scripting. If you re not already a Perl fan, though, you re probably better off sticking to Python or Script-Fu. Reading and Modifying a Script You don t have to be a programmer to write simple GIMP scripts, or to modify existing scripts, though of course programming experience will give you a head start. It s easiest to begin with an existing script and modify it. A quick run through the process will show you how it s done. Let s dig deeper into something that always frustrates me. The GIMP has a useful little Sphere script, in the Toolbox Xtns menu under Misc (in earlier versions, look for Misc inside Script-Fu). It shows you the dialog in Figure 11-3, and produces a nice sphere like the one in Figure 11-4. Figure 11-3. The Sphere script s dialog
In case you need affordable webhost to host your website, our recommendation is ecommerce web host services.