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

layerfx.2.8.py didn't work for me and it didn't even download, the only thing I got was a page with a script on it.

just using the old layerfx.py file?
It works fine with windows and Gimp-2.8.(Parthas Version)

layerfx-2.8 works fine for me also. In fact i am changing over to that version because it works with the groups.
As you can see below it works pretty nicely. (Parthas version)

-Rod

I have GIMP 2.6.11 on Ubuntu 11.10. I downloaded layerfx.2.8.py and install it as directed. They are installed, I'm sure about it because I can see it in Layer > Layer Effects. And even I can click on anyone of the effect and do modifications but as soon as I click OK to apply the layer effect as get the following error.

http://i.imgur.com/UTBEb.png

Please note that this screenshot show the error about Color Overlay, but the problem is same with all the effects.

The layerfx.2.8.py version requires GIMP 2.8.

Hi! I encountered a bug with your plugin, 2.8 py version. I got a file with many grrups of layers, and when I activated your plugin, with color overlay, it moved the group of layers, out of its orignal gorup of layers, up to the top! Annoying!

I installed layer effects.
I see the menu, but all options (bevel and emboss, color overlay, ...) are greyed out.
Where can I find instructions on how I can use these?

until you create a new document.

-Rod

When gimp is loading, it lists layerfx.py so I know it 'sees' it, but it's not there when it's running. Other Python plug-ins are working (cross-stichify for ex). Any ideas?

Running Win 7 64bit - GIMP & Python are 32 bit, (as recommended here - http://www.gimpusers.com/tutorials/install-python-for-gimp-2-6-windows)

I've tried putting the file in both the user & program plug-in folders. Also, as suggested in another comment, I've tried putting it on compatibility mode for XP & running as administrator. None of these have fixed it.

I have Gimp 2.6, with Python enabled, and all the necessary cruft to get the Python plugin working. I noticed after installing it that although the script will run and report success, like a few others here I end up with no actual output - just empty layers above the layer I was attempting to apply an effect to.

I found that if the layer has no *completely* transparent areas, the plugin can't produce an effect. For instance, if I create a new image, and want to apply an inner glow or inner shadow to the background layer - which has no transparency, though it does have an alpha channel, I can run the script, but nothing happens. After adding an alpha channel per an earlier comment, I still get nothing. This happens in both the python and scm versions of the plugin.

However, if the image has a completely transparent portion - even one pixel - the plugin will work as expected and produce the effect. It's only if you're trying to apply an effect to a layer without a completely transparent area that it seems to fail. Is this a bug, or just something I don't understand about how these effect work? I don't know enough about scm or python to even guess where the problem might be.

Thanks,
Chris

By the way, don't use layer effects plugins(gimp-registry-plugins package) from ubuntu repository -- seems like they old there and don't work(or work very strange).

Pages

Subscribe to Comments for "Layer Effects"