As I use gimp more and more, I feel the need to write my own macros (called script-fu in gimp) for it. But as I found, it is almost impossible for a non-programmer to write a script-fu without learning how to program...
Can anyone help me write this script-fu? I'll release it under GPL if I somehow manage to write... I tried, but I can't even find the right way to duplicate the Background layer using the script-fu console
Here is what I want this script-fu to do:
After I open my image, it will:
1. Duplicate the "Background" layer three times (new layers will be called "WorkLayer", "White", "Black")
2. On the "WorkLayer", use Levels tool to set white to 12 and black to 240
3. On the "White" layer, use Threshold to put the left-hand slider almost all the way to the right (set the number on the left side to about 230) => the whitest point in this layer will then be used *by the user* as a reference point to set the white point of the picture using Levels
4. On the "Black" layer, use Threshold to put the left-hand slider almost all the way to the left (set the number on the left side to about 20) => the blackest pont in this layer will then be used *by the user* as a reference point to set the black point of the picture using Levels
5. On the "WorkLayer", increase saturation by 20
6. Stop, may be let the user know with a pop up that it's done.
What I'm trying to do is to implement this tutorial as a script-fu. It seems like a very good way to start touching any pictures...
Of course, a better option would be to submit a patch to gimp for the ability to record macros, but I'm no programmer. If you feel brave enough for this, have a look at the following links:
http://bugzilla.gnome.org/show_bug.cgi?id=51937 (upstream bug report for this)
https://bugs.launchpad.net/ubuntu/+s...imp/+bug/85899 (corresponding ubuntu bug)
https://blueprints.launchpad.net/ubu...p-record-macro (feature request)
https://launchpad.net/bounties/gimp-macro-recorder/ (bounty for this)
Thanks a lot
Bookmarks