This is a series of scripts that implement various layer effects:
- Drop Shadow
- Inner Shadow
- Outer Glow
- Inner Glow
- Bevel and Emboss
- Satin
- Color Overlay
- Gradient Overlay
- Pattern Overlay
- Stroke
Some effects can have contours (a.k.a. curves) and noise added to them. Effects can either be applied on a separate layer, or be merged into the active layer (which in some cases gives better results).
Tested with GIMP 2.4.2.
Updated 6/9/2009:
- Stroke now supports gradients and patterns! (Python version only)
- Better undo handling in the Python version.
- Various bugfixes.
Updated 11/15/2008:
- The Python version now has live previewing! With the "Preview" checkbox active, the preview now updates automatically every time you change a setting!
- New "Reapply Effects" function: Reapplies all effects that have been applied to the current layer. If you change anything on the layer, use this to update all the effects in one go! (Mind you, this only works for effects that were not applied using the "Merge with layer" option.)
- Various bugfixes.
Updated 09/02/2008:
- Bugfix in Script-Fu version.
Updated 07/19/2008:
- You can now scale patterns in pattern overlays. (Python version only.)
Updated 07/08/2008:
This script has now been rewritten as a Python plugin! This adds several new features that weren't possible in Script-Fu!
- You can now preview effects! Click the "Preview" button to see what it will look like with the currently selected settings.
- The plugin now records the settings used to make an effect, so now you can reapply it! Run the same effect plugin on the same layer again, and it recovers the previous settings for that layer and shows them in the dialog box. You can then change the settings and apply the effect again, and it will replace the original effect layer! (Note: This will only work if you don't select "Merge with layer". Once an effect has been merged into the layer, it can't be removed or changed.)
Updated 04/21/2008:
Updated 03/02/2008:
- Added grayscale support
- Bugfixes
How to install (Script-Fu version):
- Right-click on the link below that says "layerfx.scm". A pop-up menu should appear. Click "Save Target As..." or "Save Link As..." or whatever the equivalent option in your browser is.
- Save the file "layerfx.scm" in your scripts folder. If you're not sure where your scripts folder is, you can check by opening GIMP and going to <Toolbox>/File/Preferences -> Folders -> Scripts. If more than one folder is shown, then any one of them will work.
- Once you have saved the file in your scripts folder, if you are already running GIMP, either click <Toolbox>/Xtns/Script-Fu/Refresh Scripts, or just close and reopen GIMP.
- If you have done this correctly, the scripts will appear in the menu under <Image>/Script-Fu/Layer Effects. If this menu is not there, try clicking <Toolbox>/Xtns/Script-Fu/Refresh Scripts. If it's still not there, make sure the file is in your scripts folder and that the filename ends with ".scm", not ".txt" or ".scm.txt" or something.
How to install (Python version):
- Right-click on the link below that says "layerfx.py". A pop-up menu should appear. Click "Save Target As..." or "Save Link As..." or whatever the equivalent option in your browser is.
- Save the file "layerfx.py" in your plug-ins folder. If you're not sure where your plug-ins folder is, you can check by opening GIMP and going to <Toolbox>/File/Preferences -> Folders -> Plug-Ins. If more than one folder is shown, then any one of them will work.
- If you're on a UNIX system, make sure layerfx.py is executable by typing this in the shell:
chmod +x layerfx.py
On other operating systems, you might have to do something else to make it executable.
- Once you have saved the file in your plug-ins folder, if you are already running GIMP, close and reopen it.
- If you have done this correctly, the scripts will appear in the menu under <Image>/Layer/Layer Effects, and <Layers>/Layer Effects. If these menus are not there, close and reopen GIMP. If they're still not there, make sure the file is in your plug-ins folder, that it is executable, that you have Python support installed, and that the filename ends with ".py", not ".txt" or ".py.txt" or something.
Comments
Windows Vista Home Premium Gimp 2.6.8
This is how i installed this plugin...
Tried the scm it didnt work gave error about missing parenthesis or somethign like that. So installed the python version instead like so..(its not hard just a few steps to install some compnents)
Uninstall Gimp
Go to http://www.python.org/download/
Install Python 2.6.4
Go to http://www.pygtk.org/downloads.html
Install PyCairo 1.8
Install PYGObject 2.2
Install PYGtk 2.16
reboot (may not be necessary but i like to reboot often...let the machine know who is the boss..
)
Install Gimp -( select custom install and make sure python option is checked It was checked by default after i installed python components)
Put the layerfx.py file in your gimp plugins folder as described in the directions above.
Restart Gimp and it should be in your Layers menu at the bottom.
Im a newbie at gimp so i just tried drop shadow it made a drop shadow so it works.. now i just have to learn how to use gimp.
cheers!! (open source programmers are modern day heroes!! :-)
Python version doesn't work with GIMP 2.7 in Ubuntu 9.10
as subject. GIMP version 2.7.1 and Ubuntu 9.10.
Python 2.6.4
The menu don't show up with layerfx.py (only with script-fu version)
Everything's fine with 2.6
Any solution for this? (this plug-in is a must)
Thanks in advance
error log
(gimp:4775): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
File "/usr/lib/gimp/2.0/plug-ins/py-slice.py", line 30, in
from gimpfu import *
ImportError: No module named gimpfu
(gimp:4775): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
Traceback (most recent call last):
File "/home/marcoz/.gimp-2.7/plug-ins/layerfx.py", line 23, in
import gimp, gimpplugin, math, re
ImportError: No module named gimp
(gimp:4775): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
The first error is repeated for lots of functions...
I need help
I downloaded the python version to my mac, but I don't see the "layer effects".
I keep getting this message:
Last login: Sat Dec 26 02:16:44 on ttys000
luke-kims-computer:~ lukekim$ cd '/Applications/Gimp.app/Contents/Resources/lib/gimp/2.0/plug-ins/' && '/usr/bin/pythonw' '/Applications/Gimp.app/Contents/Resources/lib/gimp/2.0/plug-ins/layerfx.py' && echo Exit status: $? && exit 1
Traceback (most recent call last):
File "/Applications/Gimp.app/Contents/Resources/lib/gimp/2.0/plug-ins/layerfx.py", line 23, in
import gimp, gimpplugin, math, re
ImportError: No module named gimp
luke-kims-computer:plug-ins lukekim$
Can someone help me?
Just to let you know, I
Just to let you know, I noticed that on my Mac, Layer Effects has moved to Layer -> Layer Effects. It's not in the Filters menu. :D
Did Gimp on Mac support
Did Gimp on Mac support python plugin ?
Do you used successfully other script with the ".py" extension ?
In case there is a different version of the script in Scheme (extension .scm) that will work on every OS
DRop Shadows forget they r linked when U save and reopen a file.
ANy help is appreciated here:
I work with dailly template files that I alter every day. I would like to be able to add a drop shadow to all my text layers once, then simply re-open the file, and 'Reapply Effects' to those layers, and have the drop shadow update to match the new text..
This does not work, once i save/close/reopen a file, GIMP forget that the newly created drop shadow layer below my text is associated with the text layer, and of course, get the standard error message of:
Reapply Effects Warning
Error: No effects found on this layer.
GIMP Warning
Plug-In 'Reapply Effects' left image undo in inconsistent state, closing open undo groups.
The "reapply effects' function only appears to work if have JUST created a Drop shadow.....but does NOT function after you close the file..
Can anyone help me with this issue?
Thanks!!!
Ed
Thanks! Now some suggestions :D
Hey. Love the plugin. Thank you so much.
Been using it for some time now, and I have a suggestion or so.
I bug/problem I noticed with he bevel is: Unless 'merge with layer' is selected, inner bevel blurring goes outside the lines. If the size is greater than 0, then it will bleed into the surroundings.
Also, unless there is a size greater than 0, there are lines in the bevel. Maybe use a faint blur or even 'selective guassian blur' to the bumpmap layer before use?
I'd also like to see a soften/blur option for inner/outer glow.
Another problem I noticed is (at least with outer glow): If an effect is performed on an invisible layer, that layer then becomes visible. I know this seems like a small thing, but sometimes I have to apply an effect to many invisible layers (see end of post).
Again, love the plugin. Here's some stuff I made with it:
http://cheeseenthusiast.deviantart.com/art/Surge-Xion-skin-138554091
http://cheeseenthusiast.deviantart.com/art/Thrine-xion-skin-138971961
Scaling effect?
GIMP already has scaling and
Python version not working in GIMP 2.7.0/Windows Vista
It works with Gimp 2.7.0 (Vista)
Um...
Use a different browser?
Use a different browser?
The same problem with *.py in Windows Vista
You are sure that other
In Vista work only Python 2.6.x
Mine shows up under the Layer Menu on top
I use Home Premium...would
Do any other Python
Do any other Python plug-ins for GIMP work on your system?
Tried other Python plugins, they didn't work
Not sure...
It must not work with 2.6
which do not works?
Inner Shadow
Error Message -
For example, with gradients:
First error message: GIMP Message Plug-In 'Gradient Overlay' left image undo in inconsistent state, closing open undo groups. Next error message immediately following: Gradient Overlay Message Error while executing script-fu-layerfx-gradient-overlay: Error: eval: unbound variable: cadrAnd also with Inner Glow
GIMP Message Plug-In 'Inner Glow' left image undo in inconsistent state, closing open undo groups. Inner Glow Message Error while executing script-fu-layerfx-inner-glow: Error: eval: unbound variable: cadr ... any suggestions?Error Message -
I don't have a Mac, so I
Hi, Great tool! I love the
Never mind - found it. The
Vertical Gradient?
The thing is, the script has
Bevel & Emboss window doesn't show all the options
FX-Foundry doesn't have this
Thanks for the help, I
Error
perfect
Gradient Overlay Doesn't Work
If you're doing a linear
Did you enter anything for
Thank you
Please help!
What did I say in the "How
Yes, but
It automatically saves it as
simple
Just change the filename so
How do I install?
Perhaps you could try
Error?