Adverts
The GIMP is, as I am sure you no doubt know, a brilliant open source image editing application for a variety of platforms. What you might no know is that it can be extended through the use of the Script-Fu feature.
Note: To download scripts you will probably have to right click and "Save As..."
Scripts
- Aqua 0.6 for pre-Gimp 2.0 - This release of the script is only here for completeness. It won't work with Gimp 2.0 or later and is missing quite a few features.
- Aqua 1.1 for Gimp 2.0 - I found this script originally at the Gimp User Group site but there were a couple of features it lacked. I've added the ability to change the background colour and set the amount of padding around the drawn image. I have also upgraded the script to work with GIMP 2.0.
- Aqua 1.2 for Gimp 2.2 - Same features as the Aqua 1.1 for Gimp 2.0 but upgraded to work with Gimp 2.2. All deprecated function calls have been removed and the layer addition and ordering has been tweaked so that it works correctly with Gimp 2.2.
Notes
- When developing scripts the command line switches '--pdb-compat-mode on' and '--pdb-compat-mode warn' can be very useful. The latter especially so as it gives you deprecation warnings.
- The constant names in the PDB are not the same as the name of the constants you use in your script. I might be really thick and have missed this fact when reading about writting Gimp scripts but it wasn't obvious to me. For instance the constant name in the PDB is 'GIMP-FOREGROUND-FILL' where as in your script use 'FOREGROUND-FILL'.