Install the Necessary Software
As is the case with many GIMP tutorials, you have to install supporting software before the actual process is demonstrated. To help things along, this GIMP tutorial will guide you through installing these additional software requirements before showing you how to replace text in GIMP. This tutorial assumes you are running 32-bit Windows.
- GIMP download
- Find and replace plugin
Installing all of this might sound like a lot of work, but it's not too bad once you get started. Also, keep in mind that once you have all the supporting files in place, you will have an easier time adding other GIMP plugins. Here's how to set up GIMP.
1. Download and install Python by going to http://www.python.org/download/releases/2.6.5/. Use the Windows X86 MSI Installer. At this time a higher revision number of Python is available (3.12), but it doesn't work with the latest version of GIMP.
2. Restart your computer (this is important, so don't skip this).
3. Download and install PyCairo. Visit ftp://ftp.gnome.org/pub/GNOME/binaries/win32/pycairo/. Choose the latest version or use version 1.8.6. Make sure the version of PyCairo is for the version of Python you have downloaded.
4. Download and install PyGobject. Do this by going to the GNOME repository. Be sure to choose the latest version that matches your version of Python (or use version 2.20 as used in this GIMP tutorial).
5. Download and install PyGTK. Grab this from the Gnome repository at http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/ (or get version 2.16)
6. Restart your computer (This is important, so don't skip this).
7. Download and install GIMP. This tutorial uses GIMP download version 2.6.8. Important: Be sure to click the "Customize" button on the "Ready to Install" window.
When you get to the setup-GIMP window, Make sure that the "GIMP Python Extension" box is checked. If the box is grayed out, something went wrong during the first six steps.
8. Go to the GIMP plugin repository and download the "Find and Replace Text" plugin. Keep track of where the file is on your computer because you need to copy it to your GIMP plugins folder. The file name of this plugin is find_and_replace-0.1.py.
9. Find the path to your GIMP plugin folder. From the main menu, Click "Edit", "Preferences", "Folders", and then "Plug-Ins". Usually you will see two paths listed here. For many Windows users, the path to your plugin folder is C:\Program Files\GIMP-2.0\lib\gimp\2.0\plug-ins. Close GIMP.
10. Copy find_and_replace-0.1.py to your GIMP plugins folder.
11. Restart GIMP.
12. Verify that the "Find and Replace Text" plugin is installed by clicking "Help" and then "Plugin Browser". You should see "Find and Replace Text" in the left panel as shown in the image below.
13. If you see "Find and Replace Text" in the plugin browser, you are ready to proceed. If you don't, review the steps in this section.