deviant art





Login
Join deviantART for FREE Take the Tour Lost Password?
Deviant Login
Shop
 Join deviantART for FREE Take the Tour
[x]

More from #the-gimp

Featured in Groups:

Details

March 16, 2003
0 bytes
Link
Thumb

Statistics

Comments: 18
Favourites: 11 [who?]
Views: 19,561 (1 today)
Downloads: 2,996 (0 today)
[x]
:iconthe-gimp:
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:

:bulletblue: Brightness
:bulletblue: Color Overlay
:bulletblue: Desaturate
:bulletblue: Dodge or Burn
:bulletblue: Gradient Fill
:bulletblue: Invert
:bulletblue: Lightness (positive only)
:bulletblue: Pattern Fill
:bulletblue: 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.

Hope you will find this useful :)

dark-echo
:icon:
Add a Comment:
 
love 0 0 joy 3 3 wow 0 0 mad 0 0 sad 0 0 fear 0 0 neutral 0 0
:iconsmultrontott:
Mood: Joy *Smultrontott Mar 12, 2011  Hobbyist Photographer
Thanks alot!
Reply
:iconrod-blake:
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:

[code]
(let* ( (x 4) )
...
...
...
)
[/code]

Change this in each scm filter and it will work.

--
[img][link][/img]
Reply
:iconrod-blake:
Nope i was wrong, ill ask someone to take a look at them.maybe revive them again.

--
[img][link][/img]
Reply
:iconrod-blake:
I am pretty sure you need to make a selection first to get them to work. =)

--
[img][link][/img]
Reply
:iconnijomi:
:(
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
Reply
:icondbmize:
I get the same error, this would be great to have working.
Reply
:iconup-on-cpu:
This is awesome but pleeeaase do a Curves layer soon!

--
+10 Point
Reply
:iconmalu-clbs:
~Malu-CLBS Jun 17, 2009  Hobbyist General Artist
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?
Reply
:iconorachel:
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."
Reply
:icon:
Add a Comment: