As I really quite like Photoshop's Adjustment Layer feature, I thought I'd give porting it to The GIMP a try. At the moment I succeeded in creating these nine Adjustment Layers:
Brightness Color Overlay Desaturate Dodge or Burn Gradient Fill Invert Lightness (positive only) Pattern Fill Solid Color
Previously I had submitted a subset of these under the name "Semi-Adjustment Layers". I changed the name, as I improved the functionality. You can now easily re-adjust an adjustment layer by running the same script on a layer twice. If you do this though, make sure to select the "Replace Layer" option. This will replace the current layer with the new adjustment layer, but will maintain the layer mask, the previous layer's opacity level and the layer's link state. I also moved the scripts to the Adjustment Layer submenu, making the scripts easier to access.
As with the old version of these scripts, when you apply an adjustment layer the current selection will be transformed into the adjustment layer's mask, that way making sure the effect only applies to the selection.
By far, the most common problem that can be expected if using an older script is that it might assign a value to a variable without first declaring the variable. SIOD-based Script-fu would permit a statement such as (set! x 4) even if 'x' had not been declared -- 'x' would be defined automatically to be a global variable. The new Script-fu protects against this situation and the programmer must declare the variable first. The offending script would result in an error message stating, "Error: set!: unbound variable: x".
The use of global variables is generally discouraged because another function (written by a different author) may have chosen to use the same name and the two functions would interfere with each other. For this reason, the correct method of declaring 'x' in the preceding example is to use the let or let* statement:
I just installed these scripts in Gimp 2.6.10 and when I try to run any of them from the menu I get the same error Error: set!: unbound variable: theLayer. I hope these get fixed as I was so happy to discover them.
roeard extract them to C:\Program Files\GIMP-2.0\share\gimp\2.0\scripts
I tried this today with GIMP 2.6.6 but an error appeared. I was wondering if this was added to the offigial gimp plug-in registry [link] I think they will find this helpful.
--
Don't believe everything they say about you. Who knows you better than yourself?
Dying to use this in 2.4. Is it working properly yet? Great idea for script! I'm a new gimper with absolutely no programming ability. I'm searching in vain for a script for 2.4 that will allow gimp to use "layer masks" as easily as they're used in PS. Ie: have a custom shape, brush image, png, jpg etc on one layer, and add a texture or photo on a layer on top of the orig image. Run script, and the photo texture or whatever is now in shape of the bottom layer. Does ANYONE know of anything like this available? I've had someone tell me steps on how to do it, but its mondo time consuming, involves all sorts of shrinking and inversing. I just don't understand why its that complex. I do see in 2.4 that there's a "layer mask" option in the menu, but its always grey, and when I've searched for info on how to use it properly, it seems to refer to a totally different function than what I'm used to with PS. Any ideas, anyone? Can ya tell I'm desperate? lol
--
"Practice Random Kindness and Senseless Acts of Beauty."
Adjustment Layersby #the-gimp
Previously I had submitted a subset of these under the name "Semi-Adjustment Layers". I changed the name, as I improved the functionality. You can now easily re-adjust an adjustment layer by running the same script on a layer twice. If you do this though, make sure to select the "Replace Layer" option. This will replace the current layer with the new adjustment layer, but will maintain the layer mask, the previous layer's opacity level and the layer's link state. I also moved the scripts to the Adjustment Layer submenu, making the scripts easier to access.
As with the old version of these scripts, when you apply an adjustment layer the current selection will be transformed into the adjustment layer's mask, that way making sure the effect only applies to the selection.
Hope you will find this useful