Vignette Script

Creates a vignette around a selection.

- Vignette based on selection and active layer.
- Softness, opacity, and colour of the vignette can be changed in the dialog box.
- Checking "Keep Layers" allows adjustment of vignette opacity after the fact.
- Also check "Keep Layers" if you have other layers visible otherwise they will be merged down.

Location: Filters/Light and Shadow/Vignette

This script is based on the vignetting method outlined by Sue Chastain
http://graphicssoft.about.com/od/gimp/ss/vignette.htm

Sample Pictures:

Original:
Toad

With a vignette applied:
Toad_strongvignette

This is the first script I've written, I taught myself enough scheme using the gimp tutorial over the weekend. Feedback is welcome!

Updates:

Version 1.2
- Effect is now consistent regardless of image size
- Renamed parameter from "opacity" to "softness"

AttachmentSize
vignette.scm4.31 KB

Comments

Thanks for the great script!!!

I've been struggling with getting vignettes to look right in Gimp by using a darker gradient layer but adjusting this was a PITA. Using a selection area and this vignette script is sooooooooooooo much better :-)

Is it a bug?

I used this script, but the subject is darker than the original. The vignette doesn't affect only the outer zone of the selection?

Set the opacity to 2.

Great script, perhaps you should have the Opacity value set to default to 2.

The script darkens the area

The script darkens the area outside of the selection the most and transitions to no effect inside the selection. The selection border is the mid point of this gradient so there will be some effect on the inside edges of the selected area. How sharply this transition takes effect is controlled with the "opacity" slider in the script dialog box. A larger number will result in a very gradual transition and if the selection is small enough there will be no area unaffected. I hope this helped. An example will be helpful if you are still getting unexpected results. NOTE: I just realized that image size will have an affect on how the results will look. If you have a really small image you may get the results you described. I will update the script to give consistent results regardless of image size and upload it soon.

What a difference between

What a difference between two images? I cant see anything :(

Updated picture

Sorry, I had made the vignette too subtle by increasing the softness and a low opacity. This is from the same xcf as the original vignette but with the opacity of the vignette turned up to 100. You can achieve an even stronger effect by reducing the softness of the vignette or selecting a smaller area.

Hi! I have installed the

Hi! I have installed the script and tried using it but to no avail. Nothing has changed with my original file. The default settings are: softness - 8.0 and darkness - 50.0. I would highly appreciate it if you can give me some tips to make this work. I'm using Mac OS X 10.5.8.

Selection needed prior to running script

@Aiza You need to first use the Rectangle or Ellipse select tool to make a selection (ie. selected area for the script effect). Once you have made the selection, then run the filter script.

What a difference between

a difference is well visible on the Frog even if that was not the difference i expected, and does not seem a vignette-FX. Another difference is on the right margin, more similar to a vignette effect, but apparently applied only to the highlight of the BG that there are darkened (and subtly blurred? )
Syndicate content