Gimp - 2.4 Guía Del Usuario

Descargar
Página de 653
GNU Image Manipulation Program
140 / 653
things with Script-Fu, but an ordinary GIMP user will probably use it for automating things that:
• You want to do frequently.
• Are really complicated to do, and hard to remember.
Remember that you can do a whole lot with Script-Fu. The scripts that come with GIMP can be quite useful, but they can also
serve as models for learning Script-Fu, or at least as a framework and source of modification when you make your own script.
Read the Script-Fu Tutorial in the next section if you want to learn more about how to make scripts.
We will describe some of the most useful scripts in this chapter, but we won’t cover them all. There are simply too many scripts.
Some of the scripts are also very simple and you will probably not need any documentation to be able to use them.
Script-Fu (a dialect of Scheme) isn’t the only scripting language available for GIMP. But Script-Fu is the only scripting language
that is installed by default. Other available scripting extensions are Perl and Tcl. You can download and install both extensions
at the GIMP Plugin Registry [
11.2.2
Installing Script-Fus
One of the great things about Script-Fu is that you can share your script with all your GIMP friends. There are many scripts that
come with GIMP by default, but there are also vast quantities of scripts that are available for download all around the Internet.
1. If you have downloaded a script, copy or move it to your scripts directory. It can be found in the Preferences:
2. Do a refresh by using Exts → Script-Fu → Refresh Scripts from the toolbox. The script will now appear in one of your
menus. If you don’t find it, look for it under the root file menu filters. If it doesn’t appear at all, something was wrong with
the script (e.g. it contains syntax errors).
11.2.3
Do’s and Don’ts
A common error when you are dealing with Script-Fus is that you simply bring them up and press the OK button. When nothing
happens, you probably think that the script is broken or buggy, but there is most likely nothing wrong with it.
11.2.4
Different Kinds Of Script-Fus
There are two kinds of Script-Fus -- standalone scripts and image-dependent scripts. You will find the standalone variants under
Xtns → Script-Fu →
Type of Script
in the main toolbox menu, and the image-dependent scripts are placed under Script-Fu
Type of Script
in the image menu.
11.2.5
Standalone Scripts
We will not try to describe every script in depth. Most Script-Fus are very easy to understand and use. At the time of this writing,
the following types are installed by default:
• Patterns
• Web page themes
• Logos
• Buttons
• Utils
• Make Brush