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 4/12/2012:
- New Python version now makes use of layer groups. Effect layers will be automatically grouped with the original layer. This requires GIMP 2.7 or later and was tested with 2.8rc1. Older version is provided for compatibility with previous GIMP versions.
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
another helpful win 7 tip
if you are having issues with the script right click properties on gimp, select compatibility tab, and set it to windows xp, also click use program as admin. once you have done that You can save the script to c: users gimp script.
New Feature - Auto update with reference layer?
I have been thinking if there is a new feature planned for this plugin - auto update.
Let me explain it with an example. Let's say I have created a text layer "Foo Bar". I then apply Layer Effect > Stroke on this layer. If this is done correctly with current version of this plugin, a layer of stroke is created and added above the text layer. Now, the following is the main point I want to say: If I now want to change the text layer's text to "Fool Bar", the previously created stroke layer will not change/update itself to adapt the new change.
I think it would be nice, as a new feature, that when I update the reference layer, the layer effect will also update automatically, without having me to redo the layer effect again each time.
I am bringing this idea up is that I am quite used to Photoshop's fx effect on layers, and not surprisingly, when I update the layer content, the layer effect will also update itself on PhotoShop. I think it will be really helpful and save a lot of time if this plugin can achieve the same too.
Yeah, that would be a great
Yeah, that would be a great feature, but as far as I know it's not possible at the moment. I'm hoping this GEGL stuff they're working on will make it possible to implement this capability in a future version of GIMP.
Problem with adding the SCM file
Hello all,
I have experienced problems when adding the SCM file. I have resolved the problem but I think it'd be good to share this.
I am using Windows 7 64-bit and GIMP 2.6.8. I read the instruction about installing the SCM file. So I just picked a directory and put the SCM file into:
C:\Program Files (x86)\GIMP-2.0\lib\gimp\2.0\scripts
I followed the instruction but the menus do not show up.
I then tried the python version. Similarly, I put the PY file in:
C:\Program Files (x86)\GIMP-2.0\lib\gimp\2.0\plug-ins
It does not work either.... I tried restarting GIMP so many time and nothing works. I also played with python settings, adminitrator access, etc... but nothing works...
I then tried another approach. I simply put the SCM file in:
C:\Users\\.gimp-2.6\scripts
...and it works!
So I would like someone to correct the SCM install instructions above "If more than one folder is shown, then any one of them will work.". Obviously, it doesn't work in the one in program files but only works in the one in user folder. I haven't tried the python version yet but I guess it's similar case that it's not "any one of them will work".
I hope this comment helps.
the instrution were correct
even if is better place extra script and plugin in the user gimp folder, as you did in your last attempt ,they should work even if placed in the gimp script folder in Program Files
May be some weird peculiarity in that script or your machine (..mainly with win 7 could be weird permission problems preventing the changes you did (add a script) to be applied, that may explain what happened to you ) but the instrution were right...
.
Cannot get python script to work
I would appreciate your help.
Windows 7 Enterprise 64 bit
Installed Python 2.6 plus modules necessary.
Installed GIMP using the advanced set up so that the Python Modules could be ticked.
Installed Layer Effects in Script-Fu successfully.
Cannot get the python to work.
In the Filters -> Python-Fu-Console menu is there. However, if I click on it, nothing happens. The Script-Fu Console opens if clicked.
What have I done wrong please?
Thanking you in advance.
Layer effects py - german description
Hi all
a german description for Windoof can you find under:
http://gimp-atelier.org/forum/viewtopic.php?p=785#p785
loves from Germany
Avarra
Anti-Alias option?
Many can appreciate this script/plug-in, myself included, but is there a way to add anti-alias option to the various layer styles?
Color Issues
I was wondering if anyone else had trouble with the color of the overlays. Specifically, all of the overlays I've used have been desaturated. I don't know if I'm missing a selection, but I've trued changing all the settings I could find. If anyone has any suggestions, they would be greatly received.
Not playing nice with Gimp 2.7.x
/*======*/
Ubuntu 10.0.4 Lucid
Gimp v2.7.1
Installed Gimp 2.7 - http://www.howtogeek.com/howto/12047/install-gimp-2.7.1-on-lucid-lynx-us...
Added layerfx.py to Gimp plugin folder with (right click) Permissions => 'Allow executing file as program' can now find it in the Layers menu.
However trying to use any of the effects results in errors in the gimp console, or if you ignore the errors most of the effect don't work.
GIMP Warning
WARNING: Plug-In "layerfx.py"
(/home/[username]/.gimp-2.7/plug-ins/layerfx.py)
called deprecated procedure 'gimp-drawable-parasite-list'.
It should call 'gimp-item-parasite-list' instead!
/*======*/ Update...
Ubuntu 10.0.4 Lucid
Gimp v2.7.1
I've just compiled Gimp 2.7 so I can run 2.6.x and 2.7.x. Just tried layerfx in 2.7.x and works perfectly. So something must be wrong in the link of the ppa version above.
/*======*/
Ubuntu 10.0.4
Gimp 2.6.11
Still works! :)
/*======*/
Windows 7 x64
Gimp 2.7.1
After I got this installed (installing python and various other addons) everytime I tried to run layerfx it crashed Gimp.
/*======*/
Windows 7 x64
Gimp 2.6.11
Still works!
/*======*/
For Ubuntu I'm not sure if this is a compile difference 2.7.x and 2.6.x which is why it doesn't play nice with 2.7.x. Hopefully someone will get this awesome time saving script updated just a shame it can't be added to Gimp forever!
Pages