You are here

Layer Effects

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Rate this item!
AttachmentSize
layerfx.scm55.46 KB
layerfx.py267.55 KB
layerfx.2.8.py270.28 KB

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:

  • Bugfix

Updated 03/02/2008:

  • Added grayscale support
  • Bugfixes

How to install (Script-Fu version):

  1. 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.
  2. 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.
  3. 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.
  4. 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):

  1. 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.
  2. 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.
  3. 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.
  4. Once you have saved the file in your plug-ins folder, if you are already running GIMP, close and reopen it.
  5. 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.
Code License: 
GIMP Version: 
Scripting Engine: 

Comments

Hello, I have still the same problem in version 2.6.6 64-bit. Can't get 64-bit GIMP to work with Python, 32-bit version works fine. Of course I have Python and all Python modules installed. 32-bit installator offers Gimp Python extension module, 64-bit doesn't (sure I've watched custom mode). Look at this screenshot. Does anyone have experience with working Python extension on 64-bit GIMP? Can he share it? Thanks Michal Singr, CZ

Sure ? the option for python is well hidden , become visible only using the CUSTOM option of the installer, and even them only if Python and all related libraries are already installed

Hello, thx for advice but still can't see it :-)) Of course I have python and libs installed (works fine with Gimp 32-bit) but still haven't this option to enable in CUSTOM part of installation. Do you think there is some special python (e.g. 64-bit or something like that) needed? Michal Singr webdesign

i am not sure anyway i had a similar problem first time i try to install python...i almost give up. i may image few other reasons then the 54 bit 1 GTK now gimp has the GTK bundled in, anyway Python can't find it there inside gimp (not without some fiddling) Since i wanted use other SW requiring the GTK i simply solved installing a new one in the standard location (program/commune files ) 2 the right order is not sufficent install everything you should install in a certain order, first Python then Gtk after the rest 2 Do not forget to reload the computer, after install python, to restart again the computer after installed the GTK and once again after have installed other libraries BEFORE run the gimp installer (may be 1 unneeded reload in this list...unneeded in most cases but that solved many of the others...and solved for me ) I packed everything needed here, http://www.registry.gimp.org/node/3916 (in the while may be some updates but that anyway work with last gimp 2.6) Another problem may be your version of Python, in the pack you will find the last 2.5 while the newer is 2.6.x,. .but that newer Python 2.6 was NO compatible (this should be fixed now but i am not sure if is fixed also on the stable version of Gimp or only in the last beta..to be on the safe side i will stick with Python 2.5.x )

The current GIMP installers - at least 2.6.5 - do install modules for Python 2.5 and Python 2.6, depending on what is detected on install.

For me, getting python to work with the installers did consist in:

  1.  install Python from python.org
  2. install PyGtk from ftp.gnome.org
  3. install PyCairo, ditto
  4. install PyGobject, ditto
  5. (re)install GIMP and choose the custom option
Nothing else, especially not GTK+, and worked 100% of all tries. I've also answered questions on IRC about this topic a few times recently, and everyone was able to repeat this.

For the progress on 64-bit, the best source of information would be the creator of the installers, Jernej Simoncic. Best place to ask would be the #gimp channel on irc.gimp.org.

Thank you both, guys, but still nothing. I've installed Python 2.5.2 and Python 2.6.1, and PyGTK, Cairo & Obj for both versions. I've also tried to install Python 2.5 64-bit, but these 3 libraries are only for 32-bit system, I haven't found them for 64-bit Python. I've no problem installing Gimp python module with 32-bit installator and I also run this plugin without any problems on 32-bit Gimp. But when I try to install 64-bit Gimp (everything Python and depending stuff installed, of course), there is no option "install Python module" like in 32-bit installator. I have Vista 64-shit. I think something is wrong on my side... Have to explore more... Thx, Michal

Well, at this point I have tried using the inner glow and inner shadow options in both the windows version of GIMP and Linux with no success, except when I use the "noise" option. That seems to be the only part that works. I know others have been having similar problems...can anyone figure this out?

This is just a great plugin that helps to save lot of time, thanks very much for it

This plugin makes Gimp well-tuned and all expensive Photoshops and Corels suck. Great thanks! Michal Singr, CZ creative webdesign

Hi, I'm using Gimp 2.6 with python 2.5 and 2.6 installed and I'm can't see the Layers effects menus at all. I've got the plgun-in (python version) installed in both of the plugin folders and still nothing. Do I need a different version of python/gimp?

Pages

Subscribe to Comments for "Layer Effects"