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
Thank you
Great plug-in!
Please help!
I have the script-fu version.
I saved it into my scripts folder and it won't show up in my program after restarting Gimp and refreshing the list. It's a Text Document while all the other scripts in the folder are SCM.
HELP!
What did I say in the "How
What did I say in the "How to install" instructions? The filename needs to end in ".scm", not ".txt".
Yes, but
It's a .txt file, not a .scm file.
It says under save name "Text Document"
It automatically saves it as
It automatically saves it as a .scm.txt document, and there is nothing I can do about it.
simple
click the test document drop down menu and click all files
Just change the filename so
Just change the filename so it ends in ".scm".
How do I install?
How do I install plug-ins on Mac OS 10.5.7?
Perhaps you could try
Perhaps you could try reading the "How to install" instructions above.
Error?
I am running 2.6.6 on Mac Leopard. I installed the Script-Fu version, but it doesn't work, I get these messages:
> Plug-In 'Drop Shadow' left image undo in inconsistent state, closing open undo groups.
>Error while executing script-fu-layerfx-drop-shadow:
Error: eval: unbound variable: cadr
What can I do?
Found Bug
Hey, thanks for the plugin. I found a bug on my first attempt to use it and thought "another piece of crappy software" and was about to delete it, but I saw that other users were praising it, so I persevered and found out that it sometimes works. I'm using the Script-Fu version. Here's how to repeat the problem:
- Create new document
- Select text tool
- Write my name: André
- Choose Script-Fu / Layer Effects / Drop Shadow
- BAM! See error messages below.
Drop Shadow Message
Error while executing script-fu-layerfx-drop-shadow:
Error: Procedure execution of gimp-layer-new failed on invalid input arguments: Procedure 'gimp-layer-new' has been called with value 'Andr
GIMP Message
Plug-In 'Drop Shadow' left image undo in inconsistent state, closing open undo groups.
Aha! Did you think everyone in the planet writes in English only? :)
The same problem happens with other effects too.
Thanks, good job.
André
Huh, that's odd. Might be a
Huh, that's odd. Might be a bug in TinyScheme. One workaround I found is to change the layer's name to remove any special characters like "é". This doesn't seem to happen in the Python version, though.
Layer names like "André"
Layer names like "André" work fine when executing the procedures in the Script-Fu console.
Options are all grayed out under Layer Effects
Looks like layer effects installed but all of the options are greyed out... I'm using GIMP 2.0 and the script fu version. I've never installed plugins before so there's a good chance it was my error somewhere :) Thanks!!
Options are all grayed out under Layer Effects
same thing happened to me but I got through it, just go to filters then click down at the bottom script fu then refresh, problem solved
Scripts Folder?
I can't find my scripts folder. I click File, but there is no preferences button. Please help!
In GIMP 2.6 it's now under
In GIMP 2.6 it's now under the Edit menu.
Still can't get it work on Gimp 64-bit and Python
Hello, I have still the same problem in version 2.6.6 64-bit. Can't get 64-bit GIMP to work with Python, so I can't use live preview. 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
I'm just guessing here, but
I'm just guessing here, but perhaps it's because you have only a 32-bit Python interpreter installed, and would need to install a 64-bit Python interpreter to use the Python extension with 64-bit GIMP. Just a guess.
It seems that's not the problem
Thanks very much for an advice, but it seems that is not the problem. I have installed Python 2.6 64-bit, look at the screenshot of installed pythons
MichalThe problem could be that there are no 64-bit modules (PyGTK, PyCairo...) for Python 64-bit, only for win32 :-((. But still if someone solves this mystery, we would apreciate it :-)
maybe this...
I have the same system and it works fine... did you right click on the .py file and give it executing privileges under properties/permission?
The problem is in installator part
Hello, thanks for an advice but I think I have problem with the installation part - the tickbox "GIMP Python extension" doesn't show for me in custom section of installation (in 32-bit Gimp installator does). I think if I handle this I the problem would be solved.
Can you write me plz what Python and pyth. modules exactly do you have installed? Or send some screenshot? I have contact on my webdesign website, section Contact.
Michal
all is here
all is here http://www.registry.gimp.org/node/3916 instruction included
I was a bit overzealous suggesting to restart the computer twice that seems no strictly needed (but solve in case of problem)
Take care
1 install in the order i suggested
2 the version of Python and libraries included are NOT the lasted (but all work well for gimp 2.6 )
But not only for my laziness to update...using more recent libraries will be needed to check that all component are compatible each others, that included are already tested
Live preview
Live preview is a great feature, but is some cases it causes adding many undo steps in history... it's irritating when after few changes of parameters you can't back to previous steps.
Anyway, great work!
Waiting for next features and stroke with gradient :)
TB
windows binaries?
where i can download python version of this plug-in compiled for windows?
? To add python support to
?
To add python support to gimp in win you may use this
http://www.registry.gimp.org/node/3916 how install is included.
Note:
that requires also unistall/reinstall gimp
(exactly require reinstall Gimp using the CUSTOM option).
when done you may use this as any other py script for gimp:
As alternative you may download the scm version of the script, that will work in all OS out of the box, but will miss the preview
thanks
after installing Python, PyCairo, PyGObject and PyGTK it began to work.
this effects must be included in gimp as part of the program, not as a plug-in
(sorry for my english)
PS
PS i am not sure if that works also for 64bit pc
Layer effects for Gimp 64-bit?
As you probably know, Gimp for 64-bit Windows is out. It's still an experimental version, but it seems it will become more common. This great plugin works only with usual standard 32-bit Gimp (I mean the python plugin, which is better, because it allows live preview). Does anyone have experiences with making this plugin (the python one) work under Gimp 64-bit?
Thanx
Michal Singr, CZ
webdesign
No python extension on Gimp 64-bit yet
Oh, it seems Gimp 64-bit (exactly 2.6.5 version) hasn't python extension yet...
MS
Still can't get it work on Gimp 64-bit
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
No python extension on Gimp 64-bit yet
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
Almost sure :-)
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
Almost sure
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
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:
- install Python from python.org
- install PyGtk from ftp.gnome.org
- install PyCairo, ditto
- install PyGobject, ditto
- (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.
Still nothing
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
Gratitude and save/load settings
Firstly, thank you very much for this plug-in :) I use layer effects often in 3D Model Texturing, and it makes using GIMP possible for me. Thanx once more :) The question or suggestion would be: It would be very good to be able to save the Layer effect settings somewhere so a designer could reload prior favorite settings for different projects. So basically a save and reload settings feature. Even what is here is great considering the fact that its the best layer effects I could find for GIMP and its free, Thanx.
Chris Navarre
inner glow and inner shadow don't work
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?
No Menu Options
Hi, this plug-in doesn't seem to be working for me, none of the options appear under /Layer/Layer Effects OR /Layer Effects OR anywhere else for that matter. I have tried your suggestions for fixes but to no avail.
I'm using Gimp 2.6 on Windows and the Python plug-in. I'll try the script-fu version but any suggestions to get the Python version working would be welcome - I can't live without a preview!
Much Thanks,
Seb.
No Menu Options
Python support in Windows is not automatic.
Did you installed Gimp with the custom option to enable Python?
Ohhh, I see. No I didn't. Is
Ohhh, I see. No I didn't. Is there any way to enable it now without reinstalling Gimp?
Thank you ^^
Seb
No first you must install
No
first you must install Python and some libraries ,you may found everything here http://www.registry.gimp.org/node/3916
then youshould unistall and reinstall Gimp
Use the CUSTOM option when reinstall to see the option for python
many thanks
This is just a great plugin that helps to save lot of time, thanks very much for it
Awesome and useful
This plugin makes Gimp well-tuned and all expensive Photoshops and Corels suck. Great thanks!
Michal Singr, CZ
creative webdesign
No menus appearing in Gimp 2.6
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?
Make sure it has executable
Make sure it has executable permissions.
FIXED
Hi, got it fixed. I don't think I had PyObject installed prior to installing GIMP (I found the answer here http://meetthegimp.org/how-to-install-python-plugins-under-gimp/)
How would I do that? By the
How would I do that? By the way, I'm using it on Windows Vista
Can't get emboss to work
I'd like to get this effect to work, but if i apply the emboss effect to a background like described in the following page nothing changes, just two empty layers:
http://photoshopcontest.com/tutorials/26/displacement-water.html
(part 1, step 2)
Bevel and Emboss requires an
Bevel and Emboss requires an alpha channel (that isn't completely opaque if in Outer Bevel mode) on the layer.